Skip to main content

RectangleGradientMode Enum

Lists the values that specify the direction of a linear gradient.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum RectangleGradientMode

Members

Name Description
TopToBottom

fsTopToBottom Specifies a gradient from top to bottom.

BottomToTop

fsBottomToTop Specifies a gradient from bottom to top.

LeftToRight

fsLeftToRight Specifies a gradient from left to right.

RightToLeft

fsRightToLeft Specifies a gradient from right to left.

TopLeftToBottomRight

fsTopLeftToBottomRight Specifies a gradient from upper left to lower right.

BottomRightToTopLeft

fsBottomRightToTopLeft Specifies a gradient from lower right to upper left.

TopRightToBottomLeft

fsTopRightToBottomLeft Specifies a gradient from upper right to lower left.

BottomLeftToTopRight

fsBottomLeftToTopRight Specifies a gradient from lower left to upper right.

FromCenterHorizontal

fsFromCenterHorz Specifies a horizontal gradient that starts from the center.

ToCenterHorizontal

fsToCenterHorz Specifies a horizontal gradient that ends at the center.

FromCenterVertical

fsFromCenterVert Specifies a vertical gradient that starts from the center.

ToCenterVertical

fsToCenterVert 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

See Also