Skip to main content
A newer version of this page is available. .
Row

GradientFill.Type Property

Gets or sets the type of the gradient fill.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

GradientFillType Type { get; set; }

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.

Gradient_Linear

The picture below demonstrates the gradient fill of the GradientFillType.Path type and the following convergence points:

Gradient_Path

See Also