Table of Contents

Class FluentSymbolIcon

Namespace
Riverside.Toolkit.Icons
Assembly
Riverside.Toolkit.dll
[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

DependencyProperty

Properties

AllFluentIcons

A lookup table containing the paths representing each available Fluent System Icon symbol

public static Dictionary<FluentSymbol, string> AllFluentIcons { get; }

Property Value

Dictionary<FluentSymbol, string>

Symbol

Gets or sets the Fluent System Icons glyph used as the icon content.

public FluentSymbol Symbol { get; set; }

Property Value

FluentSymbol

Methods

GetPathData(FluentSymbol)

Returns a new Geometry using the path associated with the provided int.

public static Geometry GetPathData(FluentSymbol symbol)

Parameters

symbol FluentSymbol

Returns

Geometry

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

Geometry

GetPathIcon(FluentSymbol)

Returns a new PathIcon using the path associated with the provided FluentSymbol.

public static PathIcon GetPathIcon(FluentSymbol symbol)

Parameters

symbol FluentSymbol

Returns

PathIcon

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