Interface
IRadCheckBox

Defines the contract for a RadCheckBox control that provides enhanced checkbox functionality with support for three-state mode, animations, and customizable styling options. Extends ICheckBox to provide additional RadCheckBox-specific properties.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public interface IRadCheckBox : ICheckBox, IView, IElement, ITransform

Properties

CheckedColor

Gets the background color of the checkbox when it is in the checked state.

Declaration

cs-api-definition
Color CheckedColor { get; }

Property Value

Color

A Color representing the checked state background color.

CheckedSymbolColor

Gets the color of the checkmark symbol when the checkbox is in the checked state.

Declaration

cs-api-definition
Color CheckedSymbolColor { get; }

Property Value

Color

A Color representing the checked symbol color.

CornerRadius

Gets the corner radius of the checkbox in device-independent units. When null, the default corner radius behavior is applied based on the platform and checkbox length.

Declaration

cs-api-definition
double? CornerRadius { get; }

Property Value

double?

A nullable double value representing the corner radius, or null for default behavior.

IndeterminateColor

Gets the background color of the checkbox when it is in the indeterminate state. This property is relevant only when IsThreeState is enabled.

Declaration

cs-api-definition
Color IndeterminateColor { get; }

Property Value

Color

A Color representing the indeterminate state background color.

IndeterminateSymbolColor

Gets the color of the symbol when the checkbox is in the indeterminate state. This property is relevant only when IsThreeState is enabled.

Declaration

cs-api-definition
Color IndeterminateSymbolColor { get; }

Property Value

Color

A Color representing the indeterminate symbol color.

IsAnimated

Gets a value indicating whether state transitions are animated. When enabled, changes between checked, unchecked, and indeterminate states will be animated.

Declaration

cs-api-definition
bool IsAnimated { get; }

Property Value

bool

true if animations are enabled; otherwise, false.

IsChecked

Gets or sets a value indicating whether the checkbox is checked. This property supports nullable boolean values to enable three-state functionality (checked, unchecked, indeterminate).

Declaration

cs-api-definition
bool? IsChecked { get; set; }

Property Value

bool?

true if checked, false if unchecked, or null if indeterminate (when IsThreeState is enabled).

IsThreeState

Gets a value indicating whether the checkbox supports three states (checked, unchecked, indeterminate). When enabled, the checkbox can display an indeterminate state in addition to checked and unchecked.

Declaration

cs-api-definition
bool IsThreeState { get; }

Property Value

bool

true if three-state mode is enabled; otherwise, false.

Length

Gets the length (size) of the checkbox in device-independent units. This value determines both the width and height dimensions of the checkbox.

Declaration

cs-api-definition
double Length { get; }

Property Value

double

A double value representing the checkbox length in device-independent units.

StrokeWidth

Gets the stroke width of the checkbox border in device-independent units. This controls the thickness of the border lines around the checkbox.

Declaration

cs-api-definition
double StrokeWidth { get; }

Property Value

double

A double value representing the stroke width in device-independent units.

UncheckedColor

Gets the background color of the checkbox when it is in the unchecked state.

Declaration

cs-api-definition
Color UncheckedColor { get; }

Property Value

Color

A Color representing the unchecked state background color.