Skip to content

Commit a5808a1

Browse files
committed
set CaretBrush for PasswordBox too
because it doesn't change after theme changed
1 parent 80fff42 commit a5808a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MahApps.Metro/Styles/Controls.PasswordBox.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
Value="True" />
6868
<Setter Property="Validation.ErrorTemplate"
6969
Value="{DynamicResource ValidationErrorTemplate}" />
70+
<Setter Property="CaretBrush"
71+
Value="{DynamicResource BlackBrush}" />
7072
<Setter Property="Template">
7173
<Setter.Value>
7274
<ControlTemplate TargetType="{x:Type PasswordBox}">

0 commit comments

Comments
 (0)