Back to Devexpress

RectangleGradientFillOptionsModel.GradientMode Property

windowsforms-devexpress-dot-xtracharts-dot-designer-dot-rectanglegradientfilloptionsmodel.md

latest3.2 KB
Original Source

RectangleGradientFillOptionsModel.GradientMode Property

Gets or sets the value of the RectangleGradientFillOptions.GradientMode within the model.

Namespace : DevExpress.XtraCharts.Designer

Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[PropertyForOptions]
public RectangleGradientMode GradientMode { get; set; }
vb
<PropertyForOptions>
Public Property GradientMode As RectangleGradientMode

Property Value

TypeDescription
RectangleGradientMode

The linear gradient direction.

|

Available values:

Show 12 items

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.

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

|

See Also

RectangleGradientFillOptionsModel Class

RectangleGradientFillOptionsModel Members

DevExpress.XtraCharts.Designer Namespace