File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 61
61
<Setter Property =" Padding" Value =" {x:Static wpf:Constants.TextBoxDefaultPadding}" />
62
62
<Setter Property =" ScrollViewer.PanningMode" Value =" VerticalFirst" />
63
63
<Setter Property =" Stylus.IsFlicksEnabled" Value =" False" />
64
- <Setter Property =" Validation.ErrorTemplate" Value =" {DynamicResource MaterialDesignValidationErrorTemplate}" />
64
+ <Setter Property =" Validation.ErrorTemplate" Value =" {StaticResource MaterialDesignValidationErrorTemplate}" />
65
65
<Setter Property =" wpf:TextFieldAssist.UnderlineBrush" Value =" {DynamicResource PrimaryHueMidBrush}" />
66
66
<Setter Property =" wpf:HintAssist.Foreground" Value =" {DynamicResource PrimaryHueMidBrush}" />
67
67
<Setter Property =" ContextMenu" Value =" {StaticResource MaterialDesignDefaultContextMenu}" />
Original file line number Diff line number Diff line change 1
1
<ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
2
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
3
3
xmlns : wpf =" clr-namespace:MaterialDesignThemes.Wpf"
4
- xmlns : system =" clr-namespace:System;assembly=mscorlib"
5
4
xmlns : converters =" clr-namespace:MaterialDesignThemes.Wpf.Converters" >
6
5
7
6
<!-- TODO freeze, share -->
267
266
<Setter Property =" wpf:ToggleButtonAssist.SwitchTrackOffBackground" Value =" Black" />
268
267
<Setter Property =" BorderThickness" Value =" 1" />
269
268
<Setter Property =" Padding" Value =" 0 1 0 0" />
269
+ <Setter Property =" Validation.ErrorTemplate" Value =" {StaticResource MaterialDesignValidationErrorTemplate}" />
270
270
<Setter Property =" Template" >
271
271
<Setter .Value>
272
272
<ControlTemplate TargetType =" {x:Type ToggleButton}" >
You can’t perform that action at this time.
0 commit comments