menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SfRadioButton

    Represents the SfRadioButton class. SfRadioButton is a selection control that allows users to select an option from a set of options.

    Inheritance
    System.Object
    ToggleButton
    SfRadioButton
    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 SfRadioButton : ToggleButton, IParentThemeElement, IThemeElement

    Constructors

    SfRadioButton()

    Initializes a new instance of the SfRadioButton class.

    Declaration
    public SfRadioButton()

    Fields

    GroupKeyProperty

    Gets or sets the group key for SfRadioButton. This is a Bindable property.

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

    Properties

    GroupKey

    Gets or sets the group key for SfRadioButton.

    Declaration
    public SfRadioGroupKey GroupKey { get; set; }
    Property Value
    Type
    SfRadioGroupKey

    Methods

    OnMeasure(Double, Double)

    Method is called when a layout measurement happens.

    Declaration
    protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    The width constraint of the control.

    System.Double heightConstraint

    The height constraint of the control.

    Returns
    Type Description
    Xamarin.Forms.SizeRequest

    The size of the control.

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