Class SfRadioGroup
Represents the RadioGroup control.
Namespace: Syncfusion.Maui.Buttons
Assembly: Syncfusion.Maui.Buttons.dll
Syntax
public class SfRadioGroup : StackLayout
Constructors
SfRadioGroup()
Declaration
public SfRadioGroup()
Fields
SelectedValueProperty
Gets or sets the SelectedValue for SfRadioGroup. This is a Bindable property.
Declaration
public static readonly BindableProperty SelectedValueProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
CheckedItem
Gets the checked radio button from group.
Declaration
public SfRadioButton CheckedItem { get; }
Property Value
Type |
---|
SfRadioButton |
SelectedValue
Gets or sets a value that indicates the selected radio button in a group.
Declaration
public object SelectedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object representing the value of the selected radio button. |
Methods
OnChildAdded(Element)
OnChildAdded override method.
Declaration
protected override void OnChildAdded(Element child)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Controls.Element | child |
OnChildRemoved(Element, Int32)
OnChildRemoved override method.
Declaration
protected override void OnChildRemoved(Element child, int oldLogicalIndex)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Controls.Element | child | |
System.Int32 | oldLogicalIndex |
Events
CheckedChanged
Event that is raised when the checked item changed.
Declaration
public event EventHandler<CheckedChangedEventArgs> CheckedChanged
Event Type
Type |
---|
System.EventHandler<CheckedChangedEventArgs> |