filters - TickUpDowns ctrl + arrow key traverse
This commit is contained in:
1 parent
ec2e293095
commit
bdf8e2c2ff
1 file changed
+14
-4
@@ -137,7 +137,10 @@
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="c:TickUpDownNullableDouble">
|
||||
<c:TickUpDown x:Name="PART_tick_up_down">
|
||||
<TextBox Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableDoubleTextConverter}}"/>
|
||||
<TextBox
|
||||
u:TextBoxBehavior.EnableArrowKeyTraverse="True"
|
||||
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableDoubleTextConverter}}"
|
||||
/>
|
||||
</c:TickUpDown>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -151,7 +154,9 @@
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="c:TickUpDownNullableInt">
|
||||
<c:TickUpDown x:Name="PART_tick_up_down">
|
||||
<TextBox Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableIntTextConverter}}"/>
|
||||
<TextBox
|
||||
u:TextBoxBehavior.EnableArrowKeyTraverse="True"
|
||||
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableIntTextConverter}}"/>
|
||||
</c:TickUpDown>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -166,6 +171,7 @@
|
||||
<ControlTemplate TargetType="c:TickUpDownNullableUInt">
|
||||
<c:TickUpDown x:Name="PART_tick_up_down">
|
||||
<TextBox
|
||||
u:TextBoxBehavior.EnableArrowKeyTraverse="True"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
Background="{TemplateBinding Background}"
|
||||
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableUIntTextConverter}}"
|
||||
@@ -180,7 +186,9 @@
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="c:TickUpDownNullableUShort">
|
||||
<c:TickUpDown x:Name="PART_tick_up_down">
|
||||
<TextBox Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableUShortTextConverter}}"/>
|
||||
<TextBox
|
||||
u:TextBoxBehavior.EnableArrowKeyTraverse="True"
|
||||
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableUShortTextConverter}}"/>
|
||||
</c:TickUpDown>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -191,7 +199,9 @@
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="c:TickUpDownNullableULong">
|
||||
<c:TickUpDown x:Name="PART_tick_up_down">
|
||||
<TextBox Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableULongTextConverter}}"/>
|
||||
<TextBox
|
||||
u:TextBoxBehavior.EnableArrowKeyTraverse="True"
|
||||
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource NullableULongTextConverter}}"/>
|
||||
</c:TickUpDown>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
|
||||
Reference in new issue
Block a user