20 lines
903 B
XML
20 lines
903 B
XML
<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 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>
|