Table of Contents

Class SymbolIcon

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

Represents a text element containing an icon glyph.

public class SymbolIcon : FontIcon, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Inheritance
SymbolIcon
Implements
Inherited Members

Constructors

SymbolIcon()

public SymbolIcon()

SymbolIcon(SymbolRegular, double, bool)

public SymbolIcon(SymbolRegular symbol, double fontSize = 14, bool filled = false)

Parameters

symbol SymbolRegular
fontSize double
filled bool

Fields

FilledProperty

Identifies the Filled dependency property.

public static readonly DependencyProperty FilledProperty

Field Value

DependencyProperty

SymbolProperty

Identifies the Symbol dependency property.

public static readonly DependencyProperty SymbolProperty

Field Value

DependencyProperty

Properties

Filled

Gets or sets a value indicating whether or not we should use the SymbolFilled.

public bool Filled { get; set; }

Property Value

bool

Symbol

Gets or sets displayed SymbolRegular.

public SymbolRegular Symbol { get; set; }

Property Value

SymbolRegular

Methods

OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.

protected override void OnInitialized(EventArgs e)

Parameters

e EventArgs

The RoutedEventArgs that contains the event data.