ClassRadCheckBox
Represents a checkbox control that extends the standard with additional styling and functionality.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadCheckBox : CheckBox, IRadCheckBox, ICheckBox, IView, IElement, ITransform
Inheritance: objectRadCheckBox
Derived Classes:
Implements:
Constructors
RadCheckBox()
Initializes a new instance of the RadCheckBox class.
Declaration
public RadCheckBox()
Fields
CheckedColorProperty
Identifies the CheckedColor property.
Declaration
public static readonly BindableProperty CheckedColorProperty
Field Value
BindableProperty
CheckedSymbolColorProperty
Identifies the CheckedSymbolColor property.
Declaration
public static readonly BindableProperty CheckedSymbolColorProperty
Field Value
BindableProperty
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
BindableProperty
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
BindableProperty
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
BindableProperty
IndeterminateColorProperty
Identifies the IndeterminateColor property.
Declaration
public static readonly BindableProperty IndeterminateColorProperty
Field Value
BindableProperty
IndeterminateSymbolColorProperty
Identifies the IndeterminateSymbolColor property.
Declaration
public static readonly BindableProperty IndeterminateSymbolColorProperty
Field Value
BindableProperty
IsAnimatedProperty
Identifies the IsAnimated property.
Declaration
public static readonly BindableProperty IsAnimatedProperty
Field Value
BindableProperty
IsCheckedProperty
Identifies the IsChecked property.
Declaration
public static readonly BindableProperty IsCheckedProperty
Field Value
BindableProperty
IsThreeStateProperty
Identifies the IsThreeState property.
Declaration
public static readonly BindableProperty IsThreeStateProperty
Field Value
BindableProperty
LengthProperty
Identifies the Length property.
Declaration
public static readonly BindableProperty LengthProperty
Field Value
BindableProperty
StrokeWidthProperty
Identifies the StrokeWidth property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
BindableProperty
ToggleOnTapProperty
Identifies the ToggleOnTap attached property.
Declaration
public static readonly BindableProperty ToggleOnTapProperty
Field Value
BindableProperty
UncheckedColorProperty
Identifies the UncheckedColor property.
Declaration
public static readonly BindableProperty UncheckedColorProperty
Field Value
BindableProperty
Properties
CheckedColor
Gets or sets the Color applied to the control when it is checked. The default value is Black.
Declaration
public Color CheckedColor { get; set; }
Property Value
Color
Implements
CheckedSymbolColor
Gets or sets the Color applied to the check symbol of the control. The default value is Black.
Declaration
public Color CheckedSymbolColor { get; set; }
Property Value
Color
Implements
Command
Gets or sets the command to execute when the IsChecked property of the checkbox changes.
CommandParameter
Gets or sets the parameter to pass to the Command property.
CornerRadius
Gets or sets the corner radius of the checkbox. If null or value less than 0 is set, the default platform value will be used.
Declaration
public double? CornerRadius { get; set; }
Property Value
Implements
IndeterminateColor
Gets or sets the Color applied to the control when it is Indeterminate. The default value is Black.
Declaration
public Color IndeterminateColor { get; set; }
Property Value
Color
Implements
IndeterminateSymbolColor
Gets or sets the Color applied to the Indeterminate symbol of the control. The default value is Black.
Declaration
public Color IndeterminateSymbolColor { get; set; }
Property Value
Color
Implements
IsAnimated
Gets or sets a boolean value indicating whether to play animations during state transitions. The default value is true.
IsEnabledCore
Gets a value indicating whether the control is enabled, considering both the base implementation and command availability.
IsThreeState
Gets or sets a boolean value indicating if the UI can set the Value of the control to null. The default value is false.
Length
Gets or sets the size of the checkbox.
StrokeWidth
Gets or sets the width with which the symbols are drawn.
Declaration
public double StrokeWidth { get; set; }
Property Value
Implements
UncheckedColor
Gets or sets the Color applied to the control when it is unchecked. The default value is Black.
Declaration
public Color UncheckedColor { get; set; }
Property Value
Color
Implements
Methods
GetToggleOnTap(BindableObject)
Gets the RadCheckBox associated with the specified BindableObject.
Declaration
public static RadCheckBox GetToggleOnTap(BindableObject bindable)
Parameters
bindable
BindableObject
The BindableObject to get the associated RadCheckBox from.
Returns
The RadCheckBox associated with the specified BindableObject.
OnPropertyChanged(string)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.
SetToggleOnTap(BindableObject, RadCheckBox)
Sets the RadCheckBox to be associated with the specified BindableObject.
Declaration
public static void SetToggleOnTap(BindableObject bindable, RadCheckBox checkBox)
Parameters
bindable
BindableObject
The BindableObject to associate the RadCheckBox with.
checkBox
The RadCheckBox to associate with the specified BindableObject.
Events
IsCheckedChanged
Occurs when the IsChecked property has changed.
Declaration
public event EventHandler<IsCheckedChangedEventArgs> IsCheckedChanged
Event Value