alexa
menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfRadioButton

    Represents the radio button control

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

    Constructors

    SfRadioButton()

    Initializes a new instance of the SfRadioButton class

    Declaration
    public SfRadioButton()

    SfRadioButton(IntPtr)

    Initializes a new instance of the SfRadioButton class

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

    "The handle"

    Properties

    BorderWidth

    Gets or sets a border width of a RadioButton

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

    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 radio button.

    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 radio button.

    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

    Overrides
    ToggleButton.SizeThatFits(CGSize)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved