612 B
612 B
FontIcon
FontIcon is a control responsible for rendering icons based on the provided font.
Implementation
class Wpf.Ui.Controls.FontIcon
Exposes
// Gets or sets displayed glyph
FontIcon.Glyph = '\uE00B';
// Gets or sets used font family
FontIcon.FontFamily = "Segoe Fluent Icons";
// Icon foreground
FontIcon.Foreground = Brushes.White;
// Icon size
FontIcon.FontSize = 16;
How to use
<ui:FontIcon
Glyph=""
FontFamily="{DynamicResource SegoeFluentIcons}"
FontSize="16"
Foreground="White"/>