FontIcon
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Controls
public class FontIcon : Control
Represents an icon that uses a glyph from a font.
Base type: Control (including inherited WPF and .NET members)
Constructors
FontIcon
public FontIcon()
Initializes a new instance of the FontIcon class.
Properties
EnableTransitions
public bool EnableTransitions { get; set; }
Gets or sets whether high-quality bitmap scaling is used during transitions.
Glyph
public string Glyph { get; set; }
Gets or sets the glyph character to display.
IconFontFamily
public FontFamily IconFontFamily { get; set; }
Gets or sets the font family used for the icon glyph.
IconFontSize
public double IconFontSize { get; set; }
Gets or sets the font size of the icon glyph.
IsSpinning
public bool IsSpinning { get; set; }
Gets or sets whether the icon continuously spins.
MirroredWhenRightToLeft
public bool MirroredWhenRightToLeft { get; set; }
Gets or sets whether the glyph is horizontally flipped when FlowDirection is RightToLeft.
Rotation
public double Rotation { get; set; }
Gets or sets the rotation angle in degrees.
Methods
OnApplyTemplate
public override void OnApplyTemplate()
Documentation inherited from the Control API.
OnCreateAutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
Documentation inherited from the Control API.
OnPropertyChanged
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Documentation inherited from the Control API.
Dependency property identifiers
Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.
EnableTransitionsProperty
public static readonly DependencyProperty EnableTransitionsProperty
Identifies the EnableTransitions dependency property.
GlyphProperty
public static readonly DependencyProperty GlyphProperty
Identifies the Glyph dependency property.
IconFontFamilyProperty
public static readonly DependencyProperty IconFontFamilyProperty
Identifies the IconFontFamily dependency property.
IconFontSizeProperty
public static readonly DependencyProperty IconFontSizeProperty
Identifies the IconFontSize dependency property.
IsSpinningProperty
public static readonly DependencyProperty IsSpinningProperty
Identifies the IsSpinning dependency property.
MirroredWhenRightToLeftProperty
public static readonly DependencyProperty MirroredWhenRightToLeftProperty
Identifies the MirroredWhenRightToLeft dependency property.
RotationProperty
public static readonly DependencyProperty RotationProperty
Identifies the Rotation dependency property.