22 lines
1019 B
XML
22 lines
1019 B
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="clr-namespace:HandyControl.Controls">
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="../../Basic/Sizes.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<Style x:Key="PinBoxBaseStyle" TargetType="controls:PinBox">
|
|
<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="controls:PinBox">
|
|
<UniformGrid Name="PART_Panel" Columns="{TemplateBinding Length}" Rows="1"/>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
</ResourceDictionary> |