[]
        
(Showing Draft Content)

C1.Framework.VectorIconElement

VectorIconElement Class

Represents an icon created from a vectorial definition.

Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public abstract class VectorIconElement : IconElement, ISupportUia

Constructors

Name Description
VectorIconElement()

Initializes a new instance of the VectorIconElement class.

VectorIconElement(C1VectorIcon)

Initializes a new instance of the C1VectorIcon class.

VectorIconElement(C1VectorIcon, Style)

Initializes a new instance of the VectorIconElement class.

VectorIconElement(string)

Initializes a new instance of the VectorIconElement class.

Properties

Name Description
ActualViewBox

Returns the rectangle which determines panning and zooming of content inside the parent container.

AllowSmoothing

Determines whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.

IsPathDirty
ShouldResize

Determines whether icon image should be resized according to the C1Icon element size.

Stroke

The stroke color.

StrokeThickness

The stroke thickness.

ViewBox

Gets or sets the rectangle (in the icon coordinates) which will determine image placement.

Methods

Name Description
CreatePath()
FinalizeUI()

Finalizes the user interface. This method is called when element is removed from UI.

GetImage(ref Image, int, int)

Gets the image represented by this C1Icon.

InitializeUI()

Initializes the UI.

OnIconChanged(C1Icon, PropertyChangedEventArgs)

Updates element properties when icon property changes.

SetPathDirty(bool)