带有标签的FontSize可以使用NameSized字体设置,例如:默认,小...。
但是,当我尝试将Button FontSize设置为这些枚举时,这是无效的, 有没有办法在Xaml中做到这一点?
Button有自己的FontSize属性。
Button
FontSize
<Button Text="Hello" /> <Button FontSize="Medium" Text="Hello" />
屏幕截图: