Xamarin.iOS

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

    Show / Hide Table of Contents

    Class SfCheckBox

    Represents the CheckBox control

    Inheritance
    System.Object
    ToggleButton
    SfCheckBox
    Inherited Members
    ToggleButton.LayoutSubviews()
    ToggleButton.IsChecked
    ToggleButton.CheckedColor
    ToggleButton.UncheckedColor
    ToggleButton.IsThreeState
    ToggleButton.ControlSize
    ToggleButton.TitleEdgeInsets
    ToggleButton.StateChanged
    Namespace: Syncfusion.iOS.Buttons
    Assembly: Syncfusion.Buttons.iOS.dll
    Syntax
    public class SfCheckBox : ToggleButton

    Constructors

    SfCheckBox()

    Initializes a new instance of the SfCheckBox class

    Declaration
    public SfCheckBox()

    SfCheckBox(IntPtr)

    Initializes a new instance of the SfCheckBox class

    Declaration
    public SfCheckBox(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    "The handle"

    Properties

    BorderWidth

    Gets or sets a border width of a CheckBox

    Declaration
    public nfloat BorderWidth { get; set; }
    Property Value
    Type Description
    System.nfloat

    CornerRadius

    Gets or sets a corner radius of a CheckBox

    Declaration
    public nfloat CornerRadius { get; set; }
    Property Value
    Type Description
    System.nfloat

    TickColor

    Gets or sets a tick color of a CheckBox

    Declaration
    public UIColor TickColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    Methods

    AwakeFromNib()

    Called after the object has been loaded from the nib file. Overriders must call

    Declaration
    public override void AwakeFromNib()

    Dispose(Boolean)

    Handles the dispose.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    The dispose

    Overrides
    ToggleButton.Dispose(Boolean)

    Draw(CGRect)

    Draw checkBox.

    Declaration
    public override void Draw(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    the canvas to draw

    SizeThatFits(CGSize)

    Calculate the desired size for checkbox.

    Declaration
    public override CGSize SizeThatFits(CGSize size)
    Parameters
    Type Name Description
    CoreGraphics.CGSize size

    The size

    Returns
    Type Description
    CoreGraphics.CGSize

    It returns the sizeValue

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved