Version

ElementType Property

Identifies the type of painting applied.
Syntax
'Declaration
 
Public Property ElementType As PaintElementType
public PaintElementType ElementType {get; set;}
Remarks

A PaintElement object may actively only be one of the types in the Infragistics.UltraChart.Shared.Styles.PaintElementType enumeration. Setting a property (Hatch, FillGradientStyle or FillImage) will automatically update the property with the most current value.

It is sometimes convenient for developers to pre-initialize several sets of paint properties (a texture, a gradient and a hatch for instance) and then switch between them by adjusting the PaintElement's type with one assignment during the application's processing.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also