Back to Devexpress

PolygonGradientFillOptions.GradientMode Property

corelibraries-devexpress-dot-xtracharts-dot-polygongradientfilloptions.md

latest3.5 KB
Original Source

PolygonGradientFillOptions.GradientMode Property

Gets or sets the background gradient’s direction.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public PolygonGradientMode GradientMode { get; set; }
vb
Public Property GradientMode As PolygonGradientMode

Property Value

TypeDescription
PolygonGradientMode

A PolygonGradientMode enumeration value which specifies the gradient’s direction.

|

Available values:

NameDescription
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.

|

Remarks

Use the GradientMode property to specify the gradient’s direction used to fill a polygon chart element.

See Also

FillStyle2D.FillMode

FillStyle3D.FillMode

Gradient

PolygonGradientFillOptions Class

PolygonGradientFillOptions Members

DevExpress.XtraCharts Namespace