Skip to main content

PolygonGradientMode Enum

Lists the values that specify the direction of a gradient within a polygon element.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(PolygonGradientModeTypeConverter))]
public enum PolygonGradientMode

Members

Name Description
TopToBottom

PolygoneGradientMode_TopToBottom.png Specifies a gradient from top to bottom.

BottomToTop

PolygoneGradientMode_BottomToTop.png Specifies a gradient from bottom to top.

LeftToRight

PolygoneGradientMode_LeftToRight.png Specifies a gradient from left to right.

RightToLeft

PolygoneGradientMode_RightToLeft.png Specifies a gradient from right to left.

TopLeftToBottomRight

PolygoneGradientMode_TopLeftToBottomRight.png Specifies a gradient from upper left to lower right.

BottomRightToTopLeft

PolygoneGradientMode_BottomRightToTopLeft.png Specifies a gradient from lower right to upper left.

TopRightToBottomLeft

PolygoneGradientMode_TopRightToBottomLeft.png Specifies a gradient from upper right to lower left.

BottomLeftToTopRight

PolygoneGradientMode_BottomLeftToTopRight.png Specifies a gradient from lower left to upper right.

ToCenter

PolygoneGradientMode_ToCenter.png Specifies a gradient that ends at the center.

FromCenter

PolygoneGradientMode_FromCenter.png Specifies a gradient that starts from the center.

Related API Members

The following properties accept/return PolygonGradientMode values:

Library Related API Members
Cross-Platform Class Library PolygonGradientFillOptions.GradientMode
WinForms Controls PolygonGradientFillOptionsModel.GradientMode

Remarks

The values listed by the PolygonGradientMode enumeration are used to set the PolygonGradientFillOptions.GradientMode property.

See Also