Class FluentSymbolIcon
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Riverside_Toolkit_Controls_Settings_SettingsBlockControlWinRTTypeDetails))]
public class FluentSymbolIcon : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>
- Inheritance
-
FluentSymbolIcon
- Implements
-
IWinRTObject
- Inherited Members
Constructors
FluentSymbolIcon()
public FluentSymbolIcon()
FluentSymbolIcon(FluentSymbol)
Constructs a FluentSymbolIcon with the specified symbol.
public FluentSymbolIcon(FluentSymbol symbol)
Parameters
symbol
FluentSymbol
Fields
SymbolProperty
Identifies the Symbol property.
public static readonly DependencyProperty SymbolProperty
Field Value
Properties
AllFluentIcons
A lookup table containing the paths representing each available Fluent System Icon symbol
public static Dictionary<FluentSymbol, string> AllFluentIcons { get; }
Property Value
Symbol
Gets or sets the Fluent System Icons glyph used as the icon content.
public FluentSymbol Symbol { get; set; }
Property Value
Methods
GetPathData(FluentSymbol)
public static Geometry GetPathData(FluentSymbol symbol)
Parameters
symbol
FluentSymbol
Returns
GetPathData(int)
Returns a new Geometry using the path associated with the provided int.
The symbol
parameter is cast to FluentSymbol.
public static Geometry GetPathData(int symbol)
Parameters
symbol
int
Returns
GetPathIcon(FluentSymbol)
Returns a new PathIcon using the path associated with the provided FluentSymbol.
public static PathIcon GetPathIcon(FluentSymbol symbol)
Parameters
symbol
FluentSymbol
Returns
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected override void OnApplyTemplate()