简体   繁体   中英

Metro App Glyph Icon Custom Size

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, eg 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM