New to Telerik Document ProcessingStart a free 30-day trial

Solid color fill applied to a drawing element, resolved from a themable color.

Definition

Namespace:Telerik.Windows.Documents.Model.Drawing.Theming

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

C#
public class SolidFill : Fill

Inheritance: objectFillSolidFill

Constructors

Initializes a new instance of the SolidFill class with a concrete color.

C#
public SolidFill(Color color)
Parameters:colorColor

Initializes a new instance of the SolidFill class with a themable color.

C#
public SolidFill(ThemableColor color)
Parameters:colorThemableColor

Methods

Create a deep copy of this fill using the same color reference.

C#
public override Fill Clone()
Returns:

Fill

The deep copy of the object.

Overrides: Fill.Clone()

Properties

Gets the themable color that defines the solid fill.

C#
public ThemableColor Color { get; }