skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadCheckBox

Represents a checkbox control that extends the standard Microsoft.Maui.Controls.CheckBox with additional styling and functionality.

Inheritance
System.Object
RadCheckBox
TreeViewItemCheckBox
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class RadCheckBox : CheckBox, IRadCheckBox, ICheckBox, IView, IElement, ITransform

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
Microsoft.Maui.Controls.BindableProperty

CheckedSymbolColorProperty

Identifies the CheckedSymbolColor property.

Declaration
public static readonly BindableProperty CheckedSymbolColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CommandParameterProperty

Identifies the CommandParameter property.

Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CommandProperty

Identifies the Command property.

Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CornerRadiusProperty

Identifies the CornerRadius property.

Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IndeterminateColorProperty

Identifies the IndeterminateColor property.

Declaration
public static readonly BindableProperty IndeterminateColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IndeterminateSymbolColorProperty

Identifies the IndeterminateSymbolColor property.

Declaration
public static readonly BindableProperty IndeterminateSymbolColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsAnimatedProperty

Identifies the IsAnimated property.

Declaration
public static readonly BindableProperty IsAnimatedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsCheckedProperty

Identifies the IsChecked property.

Declaration
public static readonly BindableProperty IsCheckedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsThreeStateProperty

Identifies the IsThreeState property.

Declaration
public static readonly BindableProperty IsThreeStateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

LengthProperty

Identifies the Length property.

Declaration
public static readonly BindableProperty LengthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

StrokeWidthProperty

Identifies the StrokeWidth property.

Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ToggleOnTapProperty

Identifies the ToggleOnTap attached property.

Declaration
public static readonly BindableProperty ToggleOnTapProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

UncheckedColorProperty

Identifies the UncheckedColor property.

Declaration
public static readonly BindableProperty UncheckedColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

CheckedColor

Gets or sets the Microsoft.Maui.Graphics.Color applied to the control when it is checked. The default value is Black.

Declaration
public Color CheckedColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

Implements
IRadCheckBox.CheckedColor

CheckedSymbolColor

Gets or sets the Microsoft.Maui.Graphics.Color applied to the check symbol of the control. The default value is Black.

Declaration
public Color CheckedSymbolColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

Implements
IRadCheckBox.CheckedSymbolColor

Command

Gets or sets the command to execute when the IsChecked property of the checkbox changes.

Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand

CommandParameter

Gets or sets the parameter to pass to the Command property.

Declaration
public object CommandParameter { get; set; }
Property Value
System.Object

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 Nullable<double> CornerRadius { get; set; }
Property Value
System.Nullable<System.Double>

Implements
IRadCheckBox.CornerRadius

IndeterminateColor

Gets or sets the Microsoft.Maui.Graphics.Color applied to the control when it is Indeterminate. The default value is Black.

Declaration
public Color IndeterminateColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

Implements
IRadCheckBox.IndeterminateColor

IndeterminateSymbolColor

Gets or sets the Microsoft.Maui.Graphics.Color applied to the Indeterminate symbol of the control. The default value is Black.

Declaration
public Color IndeterminateSymbolColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

Implements
IRadCheckBox.IndeterminateSymbolColor

IsAnimated

Gets or sets a boolean value indicating whether to play animations during state transitions. The default value is true.

Declaration
public bool IsAnimated { get; set; }
Property Value
System.Boolean

Implements
IRadCheckBox.IsAnimated

IsChecked

Gets or sets a IsChecked. The default value is false.

Declaration
public Nullable<bool> IsChecked { get; set; }
Property Value
System.Nullable<System.Boolean>

Implements
IRadCheckBox.IsChecked

IsEnabledCore

Gets a value indicating whether the control is enabled, considering both the base implementation and command availability.

Declaration
protected override bool IsEnabledCore { get; }
Property Value
System.Boolean

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.

Declaration
public bool IsThreeState { get; set; }
Property Value
System.Boolean

Implements
IRadCheckBox.IsThreeState

Length

Gets or sets the size of the checkbox.

Declaration
public double Length { get; set; }
Property Value
System.Double

Implements
IRadCheckBox.Length

StrokeWidth

Gets or sets the width with which the symbols are drawn.

Declaration
public double StrokeWidth { get; set; }
Property Value
System.Double

Implements
IRadCheckBox.StrokeWidth

UncheckedColor

Gets or sets the Microsoft.Maui.Graphics.Color applied to the control when it is unchecked. The default value is Black.

Declaration
public Color UncheckedColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

Implements
IRadCheckBox.UncheckedColor

Methods

GetToggleOnTap(BindableObject)

Gets the RadCheckBox associated with the specified Microsoft.Maui.Controls.BindableObject.

Declaration
public static RadCheckBox GetToggleOnTap(BindableObject bindable)
Parameters
Microsoft.Maui.Controls.BindableObject bindable

The Microsoft.Maui.Controls.BindableObject to get the associated RadCheckBox from.

Returns
RadCheckBox

The RadCheckBox associated with the specified Microsoft.Maui.Controls.BindableObject.

OnPropertyChanged(String)

Called when a property value changes.

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

The name of the property that changed.

SetToggleOnTap(BindableObject, RadCheckBox)

Sets the RadCheckBox to be associated with the specified Microsoft.Maui.Controls.BindableObject.

Declaration
public static void SetToggleOnTap(BindableObject bindable, RadCheckBox checkBox)
Parameters
Microsoft.Maui.Controls.BindableObject bindable

The Microsoft.Maui.Controls.BindableObject to associate the RadCheckBox with.

RadCheckBox checkBox

The RadCheckBox to associate with the specified Microsoft.Maui.Controls.BindableObject.

Events

IsCheckedChanged

Occurs when the IsChecked property has changed.

Declaration
public event EventHandler<IsCheckedChangedEventArgs> IsCheckedChanged
Event Type
System.EventHandler<IsCheckedChangedEventArgs>

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.