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

Represents a border control that provides visual styling with customizable border properties.

Definition

Constructors

Initializes a new instance of the RadBorder class.

C#
public RadBorder()

Fields

BorderBrushProperty

BindableProperty

Identifies the BorderBrush property.

C#
public static readonly BindableProperty BorderBrushProperty

BorderColorProperty

BindableProperty

Identifies the BorderColor property.

C#
public static readonly BindableProperty BorderColorProperty

BorderThicknessProperty

BindableProperty

Identifies the BorderThickness property.

C#
public static readonly BindableProperty BorderThicknessProperty

CornerRadiusProperty

BindableProperty

Identifies the CornerRadius property.

C#
public static readonly BindableProperty CornerRadiusProperty

Properties

Gets or sets the brush used to paint the border.

C#
[TypeConverter(typeof(BrushTypeConverter))]
public Brush BorderBrush { get; set; }
Property Value:

The Brush used for the border.

Gets or sets the color of the border.

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

The Color of the border.

Implements: IRadBorder.BorderColor

Gets or sets the thickness of the border.

C#
public Thickness BorderThickness { get; set; }
Property Value:

The Thickness representing the border thickness values.

Implements: IRadBorder.BorderThickness

CornerRadius

Thickness

Gets or sets the corner radius of the border.

C#
public Thickness CornerRadius { get; set; }
Property Value:

The Thickness representing the corner radius values.

Implements: IRadBorder.CornerRadius

Methods

Changes the visual state of the control.

C#
protected override void ChangeVisualState()