Edit

Share via


SymbolIconExtension Class

Definition

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

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

Constructors

SymbolIconExtension()

Properties

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)
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)
Symbol

Gets or sets the Windows.UI.Xaml.Controls.Symbol value representing the icon to display.

Methods

ProvideValue()

Applies to