add basic codes
This commit is contained in:
1 parent
d8eca3ad2c
commit
958cda81a7
3 files changed
+236
-4
No files matched your search
@@ -2,8 +2,21 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:HandyControl.Controls">
|
||||
|
||||
<Style x:Key="PinBoxBaseStyle" TargetType="controls:PinBox">
|
||||
<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>
|
||||
Reference in new issue
Block a user