|
8 | 8 | </ResourceDictionary.MergedDictionaries> |
9 | 9 |
|
10 | 10 | <!-- Resources for TokenizingTextBox --> |
11 | | - <Thickness x:Key="TokenizingTextBoxBorderThickness">2</Thickness> |
12 | 11 | <Thickness x:Key="TokenizingTextBoxPadding">4</Thickness> |
13 | 12 | <Thickness x:Key="TokenizingTextBoxPresenterMargin">0,0,6,0</Thickness> |
14 | 13 | <x:Double x:Key="TokenizingTextBoxTokenSpacing">2</x:Double> |
| 14 | + <Thickness x:Key="TextControlBorderThemeThicknessFocused">2</Thickness> |
15 | 15 |
|
16 | 16 | <controls:TokenizingTextBoxStyleSelector x:Key="TokenizingTextBoxStyleSelector" |
17 | 17 | TextStyle="{StaticResource TokenizingTextBoxItemTextStyle}" |
|
23 | 23 | <Setter Property="Foreground" Value="{ThemeResource TextControlForeground}" /> |
24 | 24 | <Setter Property="Background" Value="{ThemeResource TextControlBackground}" /> |
25 | 25 | <Setter Property="BorderBrush" Value="{ThemeResource TextControlBorderBrush}" /> |
26 | | - <Setter Property="BorderThickness" Value="{StaticResource TokenizingTextBoxBorderThickness}" /> |
| 26 | + <Setter Property="BorderThickness" Value="{StaticResource TextControlBorderThemeThickness}" /> |
27 | 27 | <Setter Property="IsTabStop" Value="False" /> |
28 | 28 | <Setter Property="TabNavigation" Value="Once" /> |
29 | 29 | <Setter Property="IsSwipeEnabled" Value="False" /> |
|
135 | 135 |
|
136 | 136 | <VisualStateGroup x:Name="FocusStates"> |
137 | 137 | <VisualState x:Name="Focused"> |
| 138 | + <Storyboard> |
| 139 | + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="BorderThickness"> |
| 140 | + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBorderThemeThicknessFocused}" /> |
| 141 | + </ObjectAnimationUsingKeyFrames> |
| 142 | + </Storyboard> |
| 143 | + |
138 | 144 | <VisualState.Setters> |
139 | 145 | <Setter Target="FocusVisual.Opacity" Value="1" /> |
140 | 146 | </VisualState.Setters> |
|
0 commit comments