Class SfCheckBox
Represents the CheckBox control
Inherited Members
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 |
|---|
| System.nfloat |
CornerRadius
Gets or sets a corner radius of a CheckBox
Declaration
public nfloat CornerRadius { get; set; }
Property Value
| Type |
|---|
| System.nfloat |
TickColor
Gets or sets a tick color of a CheckBox
Declaration
public UIColor TickColor { get; set; }
Property Value
| Type |
|---|
| 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
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 |