<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"
                    xmlns:themes="clr-namespace:HandyControl.Themes">

    <ResourceDictionary.MergedDictionaries>
        <themes:SharedResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Basic/Sizes.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <Style x:Key="PinBoxBaseStyle" TargetType="hc:PinBox">
        <Setter Property="Focusable" Value="False"/>
        <Setter Property="ItemMargin" Value="4,0"/>
        <Setter Property="ItemWidth" Value="{StaticResource DefaultControlHeight}"/>
        <Setter Property="ItemHeight" Value="{StaticResource DefaultControlHeight}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="hc:PinBox">
                    <UniformGrid Name="PART_Panel" Columns="{TemplateBinding Length}" Rows="1"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>