FontIconExtension Class

Definition

Custom Windows.UI.Xaml.Markup.MarkupExtension which can provide Windows.UI.Xaml.Controls.FontIcon values.

[Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(Windows.UI.Xaml.Controls.FontIcon))]
public class FontIconExtension : Microsoft.Toolkit.Uwp.UI.TextIconExtension
[<Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(Windows.UI.Xaml.Controls.FontIcon))>]
type FontIconExtension = class
    inherit TextIconExtension
Public Class FontIconExtension
Inherits TextIconExtension
Inheritance
Windows.UI.Xaml.Markup.MarkupExtension
FontIconExtension
Attributes
Windows.UI.Xaml.Markup.MarkupExtensionReturnTypeAttribute

Constructors

FontIconExtension()

Properties

FontFamily

Gets or sets the font family to use to display the icon. If null, "Segoe MDL2 Assets" will be used.

FontSize

Gets or sets the size of the icon to display.

(Inherited from TextIconExtension)
FontStyle

Gets or sets the font style for the icon glyph.

(Inherited from TextIconExtension)
FontWeight

Gets or sets the thickness of the icon glyph.

(Inherited from TextIconExtension)
Foreground

Gets or sets the foreground Windows.UI.Xaml.Media.Brush for the icon.

(Inherited from TextIconExtension)
Glyph

Gets or sets the String value representing the icon to display.

IsTextScaleFactorEnabled

Gets or sets a value indicating whether automatic text enlargement, to reflect the system text size setting, is enabled.

(Inherited from TextIconExtension)
MirroredWhenRightToLeft

Gets or sets a value indicating whether the icon is mirrored when the flow direction is right to left.

(Inherited from TextIconExtension)

Methods

ProvideValue()

Applies to