سؤال

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