RectangleGradientFillOptions.GradientMode Property
Gets or sets the background gradient’s direction.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
Type | Description |
---|---|
RectangleGradientMode | A RectangleGradientMode enumeration value which specifies the linear gradient’s direction. |
Available values:
Name | Description |
---|---|
TopToBottom |
|
BottomToTop |
|
LeftToRight |
|
RightToLeft |
|
TopLeftToBottomRight |
|
BottomRightToTopLeft |
|
TopRightToBottomLeft |
|
BottomLeftToTopRight |
|
FromCenterHorizontal |
|
ToCenterHorizontal |
|
FromCenterVertical |
|
ToCenterVertical |
|
Remarks
Use the GradientMode property to specify the linear gradient’s direction.