FontIcon
Namespace: FluentAvalonia.UI.Controls
Represents an icon that uses a glyph from the specified font.
C#
public class FontIcon : FAIconElement
Xaml
<ui:FontIcon />
Required Template Parts
None :)
Pseudoclasses
:disabled, :focus, :focus-visible, :focus-within, :pointerover
Examples and Usage Notes
None yet.
API
Note: Inherited members are not shown
Properties
FontFamily | Gets or sets the `Avalonia.Media.FontFamily` to use when rendering the glyph |
FontFamilyProperty | Defines the `FluentAvalonia.UI.Controls.FontIcon.FontFamily` property |
FontSize | Gets or sets the font size to use when rendering the glyph |
FontSizeProperty | Defines the `FluentAvalonia.UI.Controls.FontIcon.FontSize` property |
FontStyle | Gets or sets the `Avalonia.Media.FontStyle` to use when rendering the glyph |
FontStyleProperty | Defines the `FluentAvalonia.UI.Controls.FontIcon.FontStyle` property |
FontWeight | Gets or sets the `Avalonia.Media.FontWeight` to use when rendering the glyph |
FontWeightProperty | Defines the `FluentAvalonia.UI.Controls.FontIcon.FontWeight` property |
Glyph | Gets or sets the glyph this FontIcon renders |
GlyphProperty | Defines the `FluentAvalonia.UI.Controls.FontIcon.Glyph` property |
Events
Methods