RectangleGradientMode Enum
Lists the values that specify the direction of a linear gradient.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum RectangleGradientMode
Members
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. |
FromCenterHorizontal
|
Specifies a horizontal gradient that starts from the center. |
ToCenterHorizontal
|
Specifies a horizontal gradient that ends at the center. |
FromCenterVertical
|
Specifies a vertical gradient that starts from the center. |
ToCenterVertical
|
Specifies a vertical gradient that ends at the center. |
Related API Members
The following properties accept/return RectangleGradientMode values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | RectangleGradientFillOptions.GradientMode |
WinForms Controls | RectangleGradientFillOptionsModel.GradientMode |