<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:hc="clr-namespace:HandyControl.Controls">

    <Style TargetType="hc:NumericUpDown" BasedOn="{StaticResource NumericUpDownBaseStyle}" />

    <Style
        x:Key="NumericUpDown.Small"
        TargetType="hc:NumericUpDown"
        BasedOn="{StaticResource NumericUpDownBaseStyle}">
        <Setter Property="MinHeight" Value="20" />
        <Setter Property="Padding" Value="6,0" />
    </Style>

    <Style
        x:Key="NumericUpDownExtend"
        TargetType="hc:NumericUpDown"
        BasedOn="{StaticResource NumericUpDownExtendBaseStyle}" />

    <Style
        x:Key="NumericUpDownExtend.Small"
        TargetType="hc:NumericUpDown"
        BasedOn="{StaticResource NumericUpDownExtend}">
        <Setter Property="hc:InfoElement.MinContentHeight" Value="20" />
        <Setter Property="hc:InfoElement.ContentHeight" Value="20" />
        <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0" />
        <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
        <Setter Property="Padding" Value="6,0" />
        <Setter Property="MinHeight" Value="20" />
    </Style>

    <Style
        x:Key="NumericUpDownPlus"
        TargetType="hc:NumericUpDown"
        BasedOn="{StaticResource NumericUpDownPlusBaseStyle}" />

    <Style
        x:Key="NumericUpDownPlus.Small"
        TargetType="hc:NumericUpDown"
        BasedOn="{StaticResource NumericUpDownPlus}">
        <Setter Property="hc:InfoElement.MinContentHeight" Value="20" />
        <Setter Property="hc:InfoElement.ContentHeight" Value="20" />
        <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0" />
        <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
        <Setter Property="Padding" Value="6,0" />
        <Setter Property="MinHeight" Value="20" />
    </Style>

</ResourceDictionary>
