New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a brush that paints with a solid Color.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadSolidColorBrush : RadBrush

Inheritance: objectRadBrushRadSolidColorBrush

Constructors

Initializes a new instance of the RadSolidColorBrush class.

C#
public RadSolidColorBrush()

Initializes a new instance of the RadSolidColorBrush class with the specified Color.

C#
public RadSolidColorBrush(Color color)
Parameters:colorColor

The Color to use for painting.

Properties

Color

Color

Gets or sets the Color of the brush.

C#
public Color Color { get; set; }
Property Value:

The Color used for painting.