|
18 | 18 | <Style TargetType="Window">
|
19 | 19 | <Setter Property="FontFamily" Value="{DynamicResource SettingWindowFont}" />
|
20 | 20 | </Style>
|
| 21 | + <FontFamily x:Key="ContentControlThemeFontFamily"> |
| 22 | + {DynamicResource SettingWindowFont} |
| 23 | + </FontFamily> |
21 | 24 |
|
22 | 25 | <ContextMenu x:Key="TextBoxContextMenu">
|
23 | 26 | <MenuItem Command="ApplicationCommands.Cut" Header="{DynamicResource cut}">
|
|
1360 | 1363 | <Setter Property="SelectionBrush" Value="{DynamicResource TextControlSelectionHighlightColor}" />
|
1361 | 1364 | <Setter Property="BorderThickness" Value="{DynamicResource TextControlBorderThemeThickness}" />
|
1362 | 1365 | <Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" />
|
1363 |
| - <Setter Property="FontFamily" Value="{DynamicResource SettingWindowFont}" /> |
1364 | 1366 | <Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
|
1365 | 1367 | <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
|
1366 | 1368 | <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
|
|
1584 | 1586 |
|
1585 | 1587 | <Style BasedOn="{StaticResource DefaultPasswordBoxStyle}" TargetType="PasswordBox">
|
1586 | 1588 | <Setter Property="ContextMenu" Value="{StaticResource TextBoxContextMenu}" />
|
| 1589 | + <Setter Property="FontFamily" Value="{DynamicResource SettingWindowFont}" /> |
1587 | 1590 | </Style>
|
1588 | 1591 |
|
1589 | 1592 | <Style
|
|
2744 | 2747 | Margin="{TemplateBinding BorderThickness}"
|
2745 | 2748 | Padding="{TemplateBinding Padding}"
|
2746 | 2749 | Focusable="False"
|
| 2750 | + FontFamily="{DynamicResource ContentControlThemeFontFamily}" |
2747 | 2751 | HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
2748 | 2752 | IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
|
2749 | 2753 | IsTabStop="False"
|
|
2756 | 2760 | Grid.ColumnSpan="2"
|
2757 | 2761 | Margin="{TemplateBinding BorderThickness}"
|
2758 | 2762 | Padding="{TemplateBinding Padding}"
|
| 2763 | + FontFamily="{DynamicResource ContentControlThemeFontFamily}" |
2759 | 2764 | Foreground="{TemplateBinding ui:ControlHelper.PlaceholderForeground}"
|
2760 | 2765 | IsHitTestVisible="False"
|
2761 | 2766 | Text="{TemplateBinding ui:ControlHelper.PlaceholderText}"
|
|
0 commit comments