How do I override the AppBarButtonStyle Width/Height for a custom Button that I define?

Is it possible to represent a Segoe UI Font Symbol in a control other than Button? If so, how?

有帮助吗?

解决方案

You can simply create a TextBlock and set its FontFamily to Segoe UI Symbol and the text to the code of the glyph you you want shown that you can find in the character map app, e.g. Text="". Then change any other properties of your TextBlock that you desire.

其他提示

you can do this even in code like this textblock1.Text = ((char)0xE101).ToString(); and assign font family as Segoe UI Symbol

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top