Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PolygonGradientFillOptionsModel.GradientMode Property

Gets or sets the value of the PolygonGradientFillOptions.GradientMode within the model.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

[PropertyForOptions]
public PolygonGradientMode GradientMode { get; set; }

#Property Value

Type Description
PolygonGradientMode

The linear gradient direction.

Available values:

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.

See Also