File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 20
20
<Setter Property =" wpf:TextFieldAssist.TextBoxViewMargin" Value =" {x:Static wpf:Constants.DefaultTextBoxViewMargin}" />
21
21
<Setter Property =" Background" Value =" Transparent" />
22
22
<Setter Property =" CaretBrush" Value =" {DynamicResource PrimaryHueMidBrush}" />
23
+ <Setter Property =" SelectionBrush" Value =" {DynamicResource PrimaryHueLightBrush}" />
23
24
<Setter Property =" HorizontalContentAlignment" Value =" Stretch" />
24
25
<Setter Property =" VerticalContentAlignment" Value =" Top" />
25
26
<Setter Property =" FocusVisualStyle" Value =" {x:Null}" />
392
393
</ControlTemplate .Triggers>
393
394
</ControlTemplate >
394
395
</Setter .Value>
395
- </Setter >
396
- <Style .Triggers>
397
- <MultiTrigger >
398
- <MultiTrigger .Conditions>
399
- <Condition Property =" IsInactiveSelectionHighlightEnabled" Value =" true" />
400
- <Condition Property =" IsSelectionActive" Value =" false" />
401
- </MultiTrigger .Conditions>
402
- <Setter Property =" SelectionBrush" Value =" {DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
403
- </MultiTrigger >
404
- </Style .Triggers>
396
+ </Setter >
405
397
</Style >
406
398
407
399
<Style x : Key =" MaterialDesignFloatingHintPasswordBox" TargetType =" {x:Type PasswordBox}" BasedOn =" {StaticResource MaterialDesignPasswordBox}" >
Original file line number Diff line number Diff line change 43
43
<Setter Property =" wpf:TextFieldAssist.TextBoxViewMargin" Value =" {x:Static wpf:Constants.DefaultTextBoxViewMargin}" />
44
44
<Setter Property =" Background" Value =" Transparent" />
45
45
<Setter Property =" CaretBrush" Value =" {DynamicResource PrimaryHueMidBrush}" />
46
+ <Setter Property =" SelectionBrush" Value =" {DynamicResource PrimaryHueLightBrush}" />
46
47
<Setter Property =" HorizontalContentAlignment" Value =" Stretch" />
47
48
<Setter Property =" VerticalContentAlignment" Value =" Top" />
48
49
<Setter Property =" FocusVisualStyle" Value =" {x:Null}" />
481
482
</ControlTemplate .Triggers>
482
483
</ControlTemplate >
483
484
</Setter .Value>
484
- </Setter >
485
- <Style .Triggers>
486
- <MultiTrigger >
487
- <MultiTrigger .Conditions>
488
- <Condition Property =" IsInactiveSelectionHighlightEnabled" Value =" true" />
489
- <Condition Property =" IsSelectionActive" Value =" false" />
490
- </MultiTrigger .Conditions>
491
- <Setter Property =" SelectionBrush" Value =" {DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
492
- </MultiTrigger >
493
- </Style .Triggers>
485
+ </Setter >
494
486
</Style >
495
487
496
488
<Style x : Key =" MaterialDesignTextBox" TargetType =" {x:Type TextBox}" BasedOn =" {StaticResource MaterialDesignTextBoxBase}" />
You can’t perform that action at this time.
0 commit comments