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 Microsoft.Maui.ICheckBox to provide additional RadCheckBox-specific properties.
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public interface IRadCheckBox : ICheckBox, IView, IElement, ITransform
Properties
CheckedColor
Gets the background color of the checkbox when it is in the checked state.
Declaration
Color CheckedColor { get; }
Property Value
Microsoft.Maui.Graphics.Color
A Microsoft.Maui.Graphics.Color representing the checked state background color. |
CheckedSymbolColor
Gets the color of the checkmark symbol when the checkbox is in the checked state.
Declaration
Color CheckedSymbolColor { get; }
Property Value
Microsoft.Maui.Graphics.Color
A Microsoft.Maui.Graphics.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
Nullable<double> CornerRadius { get; }
Property Value
System.Nullable<System.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
Color IndeterminateColor { get; }
Property Value
Microsoft.Maui.Graphics.Color
A Microsoft.Maui.Graphics.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
Color IndeterminateSymbolColor { get; }
Property Value
Microsoft.Maui.Graphics.Color
A Microsoft.Maui.Graphics.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
bool IsAnimated { get; }
Property Value
System.Boolean
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
Nullable<bool> IsChecked { get; set; }
Property Value
System.Nullable<System.Boolean>
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
bool IsThreeState { get; }
Property Value
System.Boolean
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
double Length { get; }
Property Value
System.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
double StrokeWidth { get; }
Property Value
System.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
Color UncheckedColor { get; }
Property Value
Microsoft.Maui.Graphics.Color
A Microsoft.Maui.Graphics.Color representing the unchecked state background color. |