menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfCheckBox - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfCheckBox

    Represents the SfCheckBox class. It is a selection control that allows users to select one or more options from a set.

    Inheritance
    System.Object
    ToggleButton
    SfCheckBox
    Inherited Members
    ToggleButton.BorderWidth
    ToggleButton.BorderWidthProperty
    ToggleButton.CheckedColor
    ToggleButton.CheckedColorProperty
    ToggleButton.ControlSize
    ToggleButton.ControlSizeProperty
    ToggleButton.FontAttributes
    ToggleButton.FontAttributesProperty
    ToggleButton.FontFamily
    ToggleButton.FontFamilyProperty
    ToggleButton.FontSize
    ToggleButton.FontSizeProperty
    ToggleButton.HorizontalTextAlignment
    ToggleButton.HorizontalTextAlignmentProperty
    ToggleButton.IsChecked
    ToggleButton.IsCheckedProperty
    ToggleButton.IsThreeState
    ToggleButton.IsThreeStateProperty
    ToggleButton.LineBreakMode
    ToggleButton.LineBreakModeProperty
    ToggleButton.Padding
    ToggleButton.PaddingProperty
    ToggleButton.StateChanged
    ToggleButton.Text
    ToggleButton.TextColor
    ToggleButton.TextColorProperty
    ToggleButton.TextProperty
    ToggleButton.UncheckedColor
    ToggleButton.UncheckedColorProperty
    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public class SfCheckBox : ToggleButton, IParentThemeElement, IThemeElement

    Constructors

    SfCheckBox()

    Initializes a new instance of the SfCheckBox class.

    Declaration
    public SfCheckBox()

    Fields

    CornerRadiusProperty

    Identifies the CornerRadius bindable property. This property can be used to get rounded corner for the border of the SfCheckBox.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TickColorProperty

    Backing store for TickColor property.

    Declaration
    public static readonly BindableProperty TickColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    CornerRadius

    Gets or sets the value of CornerRadius. This property can be used to get the corners of the SfCheckBox rectangle, which is rounded.

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

    TickColor

    Gets or sets the tick color of a SfCheckBox .

    Declaration
    public Color TickColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    Methods

    OnMeasure(Double, Double)

    Declaration
    protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint
    System.Double heightConstraint
    Returns
    Type
    Xamarin.Forms.SizeRequest
    Overrides
    ToggleButton.OnMeasure(Double, Double)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved