Class SfRadioButton
Represents the SfRadioButton class. SfRadioButton is a selection control that allows users to select an option from a set of options.
Inherited Members
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. |