New to Telerik UI for WPFStart a free 30-day trial

Represents a gradient fill for shapes in the document model.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class ShapeGradientFill : IShapeOutlineFill, IShapeFill

Inheritance: objectShapeGradientFill

Implements: IShapeFillIShapeOutlineFill

Constructors

Initializes a new instance of the ShapeGradientFill class.

C#
public ShapeGradientFill(GradientBrush brush)
Parameters:brushGradientBrush

The GradientBrush used to fill the shape.