Class SymbolIcon
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
SymbolRegularfontSize
doublefilled
bool
Fields
FilledProperty
Identifies the Filled dependency property.
public static readonly DependencyProperty FilledProperty
Field Value
SymbolProperty
Identifies the Symbol dependency property.
public static readonly DependencyProperty SymbolProperty
Field Value
Properties
Filled
Gets or sets a value indicating whether or not we should use the SymbolFilled.
public bool Filled { get; set; }
Property Value
Symbol
Gets or sets displayed SymbolRegular.
public SymbolRegular Symbol { get; set; }
Property Value
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
EventArgsThe RoutedEventArgs that contains the event data.