[]
        
(Showing Draft Content)

C1.WinUI.Core.C1VectorIcon

C1VectorIcon Class

Represents an icon created from a vector definition.

Inheritance
C1VectorIcon
Implements
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public abstract class C1VectorIcon : C1Icon, IDisposable, ICloneable

Constructors

Name Description
C1VectorIcon()

Initializes a new instance of the C1VectorIcon class.

Fields

Name Description
StrokeBrushProperty

Identifies the StrokeBrush dependency property.

StrokeThicknessProperty

Identifies the StrokeThickness dependency property.

ViewBoxProperty

Identifies the ViewBox dependency property.

Properties

Name Description
StrokeBrush

Gets or sets the brush of the stroke.

StrokeThickness

The stroke thickness

ViewBox

Gets or sets the rectangle (in the path coordinates) which will determine what part will be drawn.

Methods

Name Description
CreateGeometry()

This method is called to create the geometry of the shape.

Dispose(bool)
OnApplyTemplate()
UpdateGeometry()

This will recreate the geometry and update the path.