corelibraries-devexpress-dot-xtracharts-f400e8df.md
Lists the values that specify the direction of a gradient within a polygon element.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum PolygonGradientMode
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum PolygonGradientMode
| Name | Description |
|---|---|
TopToBottom |
Specifies a gradient from top to bottom.
|
| BottomToTop |
Specifies a gradient from bottom to top.
|
| LeftToRight |
Specifies a gradient from left to right.
|
| RightToLeft |
Specifies a gradient from right to left.
|
| TopLeftToBottomRight |
Specifies a gradient from upper left to lower right.
|
| BottomRightToTopLeft |
Specifies a gradient from lower right to upper left.
|
| TopRightToBottomLeft |
Specifies a gradient from upper right to lower left.
|
| BottomLeftToTopRight |
Specifies a gradient from lower left to upper right.
|
| ToCenter |
Specifies a gradient that ends at the center.
|
| FromCenter |
Specifies a gradient that starts from the center.
|
The following properties accept/return PolygonGradientMode values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | PolygonGradientFillOptions.GradientMode |
| WinForms Controls | PolygonGradientFillOptionsModel.GradientMode |
The values listed by the PolygonGradientMode enumeration are used to set the PolygonGradientFillOptions.GradientMode property.
See Also