Properties - MahApps/MahApps.Metro.IconPacks GitHub Wiki

PackIcon control properties

Property Description Default
Foreground Gets or sets a brush that describes the color of the icon itself.
Kind Gets or sets the icon to display.
Data (string) Gets the path data for the current icon kind.
Flip (PackIconFlipOrientation) Gets or sets the flip orientation. Normal
RotationAngle (double) Gets or sets the rotation (angle). 0d
Spin (bool) Gets or sets a value indicating whether the inner icon is spinning. false
SpinDuration (double) Gets or sets the duration of the spinning animation (in seconds). This will also restart the spin animation. 1d
SpinEasingFunction (EasingFunctionBase (UWP), IEasingFunction (WPF)) Gets or sets the EasingFunction of the spinning animation. This will also restart the spin animation. null
SpinAutoReverse (bool) Gets or sets the AutoReverse of the spinning animation. This will also restart the spin animation. false

PathIcon control properties

Property Description Default
Foreground Gets or sets a brush that describes the color of the icon itself.
Kind Gets or sets the icon to display.
Flip (PackIconFlipOrientation) Gets or sets the flip orientation. Normal
RotationAngle (double) Gets or sets the rotation (angle). 0d
Spin (bool) Gets or sets a value indicating whether the inner icon is spinning. false
SpinDuration (double) Gets or sets the duration of the spinning animation (in seconds). This will also restart the spin animation. 1d
SpinEasingFunction (EasingFunctionBase (UWP), IEasingFunction (WPF)) Gets or sets the EasingFunction of the spinning animation. This will also restart the spin animation. null
SpinAutoReverse (bool) Gets or sets the AutoReverse of the spinning animation. This will also restart the spin animation. false

Possible Values for the Flip property

Value Description
Normal No flip
Horizontal Flip the icon horizontal
Vertical Flip the icon vertical
Both Flip the icon vertical and horizontal

PackIcon MarkupExtension properties

Property Description Default
Kind Gets or sets the icon to display.
Flip (PackIconFlipOrientation) Gets or sets the flip orientation. Normal
RotationAngle (double) Gets or sets the rotation (angle). 0d
Spin (bool) Gets or sets a value indicating whether the inner icon is spinning. false
SpinDuration (double) Gets or sets the duration of the spinning animation (in seconds). 1d
SpinEasingFunction (EasingFunctionBase (UWP), IEasingFunction (WPF)) Gets or sets the EasingFunction of the spinning animation. null
SpinAutoReverse (bool) Gets or sets the AutoReverse of the spinning animation. false
Width (double) The width of the icon. 16
Height (double) The height of the icon. 16

PackIcon image MarkupExtension properties

Property Description Default
Kind Gets or sets the icon to display.
Flip (PackIconFlipOrientation) Gets or sets the flip orientation. Normal
RotationAngle (double) Gets or sets the rotation (angle). 0d
Brush (Brush) Gets or sets the brush to draw the icon. Black

PackIcon image converter properties

Property Description Default
Flip (PackIconFlipOrientation) Gets or sets the flip orientation. Normal
RotationAngle (double) Gets or sets the rotation (angle). 0d
Brush (Brush) Gets or sets the brush to draw the icon. Black