GradientFill.Type Property
Gets or sets the type of the gradient fill.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v22.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
GradientFillType | A GradientFillType enumeration member. |
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
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.