<controls:SettingsCard
    x:Class="Pixeval.Controls.Settings.DoubleSettingsCard"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:CommunityToolkit.WinUI.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:fluent="using:FluentIcons.WinUI"
    xmlns:local="using:Pixeval.Settings"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Description="{x:Bind Entry.DescriptionControl}"
    Header="{x:Bind Entry.Header}"
    Tag="{x:Bind Entry.Attribute}"
    mc:Ignorable="d">
    <controls:SettingsCard.HeaderIcon>
        <fluent:SymbolIcon Symbol="{x:Bind Entry.HeaderIcon}" />
    </controls:SettingsCard.HeaderIcon>
    <NumberBox
        LargeChange="{x:Bind Entry.LargeChange}"
        Maximum="{x:Bind Entry.Max}"
        Minimum="{x:Bind Entry.Min}"
        PlaceholderText="{x:Bind Entry.Placeholder}"
        SmallChange="{x:Bind Entry.SmallChange}"
        Style="{StaticResource SettingsNumberBoxStyle}"
        Value="{x:Bind Entry.Value, Mode=TwoWay}" />
</controls:SettingsCard>
