GradientFill.Type Property
Gets or sets the type of the gradient fill.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
GradientFillType | A GradientFillType enumeration member. |
Available values:
Name | Description |
---|---|
Linear | Linear gradient. The background fill is a transition through a series of colors specified by color stops placed on a gradient line. The gradient line can be tilted at a specified angle. |
Path | Path gradient indicates that the transition boundary of one color to the next is a rectangle, defined by top, bottom, left, and right attributes. |
Remarks
The picture below demonstrates the gradient fill of the GradientFillType.Linear type and the GradientFill.Degree property value set to 45.
The picture below demonstrates the gradient fill of the GradientFillType.Path type and the following convergence points:
- GradientFill.RectangleLeft = 0.3
- GradientFill.RectangleRight = 0.7
- GradientFill.RectangleTop = 0.3
- GradientFill.RectangleBottom = 0.5