Skip to content

Commit b89688a

Browse files
committed
add font template bindings to textblock
1 parent 070d354 commit b89688a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • source/iNKORE.UI.WPF.Modern.Controls/Controls/Windows/NumberBox

source/iNKORE.UI.WPF.Modern.Controls/Controls/Windows/NumberBox/NumberBox.xaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@
5656
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
5757
Focusable="False"
5858
Text="{TemplateBinding Content}"
59+
Foreground="{TemplateBinding Foreground}"
60+
FontSize="{TemplateBinding FontSize}"
5961
FontFamily="{TemplateBinding FontFamily}"
62+
FontWeight="{TemplateBinding FontWeight}"
63+
FontStyle="{TemplateBinding FontStyle}"
64+
FontStretch="{TemplateBinding FontStretch}"
6065
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
6166
</Border>
6267
</ui:ElevationBorder>

0 commit comments

Comments
 (0)