Class
SolidFill

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:

cs-api-definition
public class SolidFill : Fill

Inheritance: objectFillSolidFill

Constructors

SolidFill(Color)

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

Declaration

cs-api-definition
public SolidFill(Color color)

Parameters

color

Color

SolidFill(ThemableColor)

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

Declaration

cs-api-definition
public SolidFill(ThemableColor color)

Parameters

color

ThemableColor

Properties

Color

Gets the themable color that defines the solid fill.

Declaration

cs-api-definition
public ThemableColor Color { get; }

Property Value

ThemableColor

Methods

Clone()

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

Declaration

cs-api-definition
public override Fill Clone()

Returns

Fill

The deep copy of the object.

Overrides Fill.Clone()