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

IRadCheckBox

Interface

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:

C#
public interface IRadCheckBox : ICheckBox, IView, IElement, ITransform

Derived Classes: RadCheckBoxTreeViewItemCheckBox

Properties

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

C#
Color CheckedColor { get; }
Property Value:

A Color representing the checked state background color.

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

C#
Color CheckedSymbolColor { get; }
Property Value:

A Color representing the checked symbol color.

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.

C#
double? CornerRadius { get; }
Property Value:

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

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

C#
Color IndeterminateColor { get; }
Property Value:

A Color representing the indeterminate state background color.

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

C#
Color IndeterminateSymbolColor { get; }
Property Value:

A Color representing the indeterminate symbol color.

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

C#
bool IsAnimated { get; }
Property Value:

true if animations are enabled; otherwise, false.

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).

C#
bool? IsChecked { get; set; }
Property Value:

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

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.

C#
bool IsThreeState { get; }
Property Value:

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

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

C#
double Length { get; }
Property Value:

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

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

C#
double StrokeWidth { get; }
Property Value:

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

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

C#
Color UncheckedColor { get; }
Property Value:

A Color representing the unchecked state background color.