RectangleGradientMode Enum
Lists the values that specify the direction of a linear gradient.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.dll
NuGet Package: DevExpress.Charts
Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum RectangleGradientMode
Members
| Name | Description |
|---|---|
TopToBottom
|
|
BottomToTop
|
|
LeftToRight
|
|
RightToLeft
|
|
TopLeftToBottomRight
|
|
BottomRightToTopLeft
|
|
TopRightToBottomLeft
|
|
BottomLeftToTopRight
|
|
FromCenterHorizontal
|
|
ToCenterHorizontal
|
|
FromCenterVertical
|
|
ToCenterVertical
|
|
Related API Members
The following properties accept/return RectangleGradientMode values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | RectangleGradientFillOptions.GradientMode |
| WinForms Controls | RectangleGradientFillOptionsModel.GradientMode |
Specifies a gradient from top to bottom.
Specifies a gradient from bottom to top.
Specifies a gradient from left to right.
Specifies a gradient from right to left.
Specifies a gradient from upper left to lower right.
Specifies a gradient from lower right to upper left.
Specifies a gradient from upper right to lower left.
Specifies a gradient from lower left to upper right.
Specifies a horizontal gradient that starts from the center.
Specifies a horizontal gradient that ends at the center.
Specifies a vertical gradient that starts from the center.
Specifies a vertical gradient that ends at the center.