FontIconSource
Namespace: FluentAvalonia.UI.Controls
Represents an icon source that uses a glyph from the specified font.
C#
public class FontIconSource : IconSource
Xaml
<ui:FontIconSource />
Required Template Parts
None :)
Pseudoclasses
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.FontIconSource.FontFamily` property |
FontSize | Gets or sets the font size to use when rendering the glyph |
FontSizeProperty | Defines the `FluentAvalonia.UI.Controls.FontIconSource.FontSize` property |
FontStyle | Gets or sets the `Avalonia.Media.FontStyle` to use when rendering the glyph |
FontStyleProperty | Defines the `FluentAvalonia.UI.Controls.FontIconSource.FontStyle` property |
FontWeight | Gets or sets the `Avalonia.Media.FontWeight` to use when rendering the glyph |
FontWeightProperty | Defines the `FluentAvalonia.UI.Controls.FontIconSource.FontWeight` property |
Glyph | Gets or sets the glyph this FontIcon renders |
GlyphProperty | Defines the `FluentAvalonia.UI.Controls.FontIconSource.Glyph` property |
Events
Methods