You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAUI/Radio-Button/Getting-Started.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,12 @@ description: Learn here about getting started with Syncfusion Essential Studio .
5
5
platform: maui
6
6
control: SfRadioButton
7
7
documentation: ug
8
+
keywords : .net maui radio button, maui radio button, maui radio button group, maui radio button state.
8
9
---
9
10
10
11
# Creating an application with .NET MAUI Radio Button
11
12
12
-
This section explains the steps required to work with the [`SfRadioButton`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) control for .NET MAUI.
13
+
This section explains the steps required to work with the [SfRadioButton](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) control for .NET MAUI.
13
14
14
15
To get start quickly with our .NET MAUI Radio Button, you can check the below video.
15
16
@@ -58,7 +59,7 @@ namespace ButtonSample
58
59
59
60
Step 1: Add the NuGet to the project as discussed in the above reference section.
60
61
61
-
Step 2: Add the namespace as shown in the following code sample.
62
+
Step 2: Add the namespace as shown in the following code sample, to initialize the .NET MAUI Radio Button.
62
63
63
64
{% tabs %}
64
65
{% highlight xaml %}
@@ -73,7 +74,7 @@ Step 2: Add the namespace as shown in the following code sample.
73
74
{% endhighlight %}
74
75
{% endtabs %}
75
76
76
-
Step 3: Set the control to content in `ContentPage`.
77
+
Step 3: Set the .NET MAUI Radio Button control as the content in the `ContentPage.`
77
78
78
79
{% tabs %}
79
80
{% highlight xaml %}
@@ -116,7 +117,7 @@ Step 3: Set the control to content in `ContentPage`.
116
117
117
118
## Setting caption
118
119
119
-
The radio button caption can be defined using the [`Text`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.ToggleButton.html#Syncfusion_Maui_Buttons_ToggleButton_Text) property of [`SfRadioButton`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html). This caption typically describes the meaning of the radio button and is displayed next to the radio button.
120
+
The .NET MAUI Radio Button caption can be defined using the [Text](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.ToggleButton.html#Syncfusion_Maui_Buttons_ToggleButton_Text) property. This caption typically describes the meaning of the radio button and is displayed next to the radio button.
120
121
121
122
{% tabs %}
122
123
{% highlight xaml %}
@@ -137,14 +138,14 @@ The radio button caption can be defined using the [`Text`](https://help.syncfusi
137
138
138
139
## Change the Radio Button state
139
140
140
-
The two different visual states of the [`SfRadioButton`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) are:
141
+
The two different visual states of the [.NET MAUI Radio Button](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) are:
141
142
142
143
* Checked
143
144
* Unchecked
144
145
145
-
To change the state of the radio button, you can utilize the [`IsChecked`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_IsChecked) property of [`SfRadioButton`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html). When the radio button is checked, an inner circle is added to its visualization.
146
+
To change the state of the .NET MAUI Radio Button, you can utilize the [IsChecked](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_IsChecked) property of [SfRadioButton](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html). When the Radio Button is checked, an inner circle is added to its visualization.
146
147
147
-
The radio buttons are used when there is a list of two or more options or groups that are mutually exclusive, and the user must select exactly one choice, such as “Select Gender” or “Choose the best option!”.
148
+
The .NET MAUI Radio Buttons are used when there is a list of two or more options or groups that are mutually exclusive, and the user must select exactly one choice, such as "Select Gender" or "Choose the best option!".
148
149
149
150
{% tabs %}
150
151
{% highlight xaml %}
@@ -170,7 +171,7 @@ The radio buttons are used when there is a list of two or more options or groups
170
171
{% endhighlight %}
171
172
{% endtabs %}
172
173
173
-
N> [`SfRadioButtons`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) are mutually exclusive when they are defined within [`SfRadioGroup`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html).
174
+
N> [SfRadioButtons](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) are mutually exclusive when they are defined within [SfRadioGroup](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html).
174
175
175
176

Copy file name to clipboardExpand all lines: MAUI/Radio-Button/Grouping.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,16 @@ description: Learn here all about Grouping support in Syncfusion .NET MAUI Radio
5
5
platform: maui
6
6
control: SfRadioButton
7
7
documentation: ug
8
+
keywords : .net maui radio button, maui radio button, maui radio button group, maui radio button grouping, maui radio group.
8
9
---
9
10
10
11
# Grouping in .NET MAUI Radio Button (SfRadioButton)
11
12
12
13
## Group Key
13
14
14
-
The [`GroupKey`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_GroupKey) in [`SfRadioButton`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) allows you to group a set of radio buttons present inside any layout. By grouping in this way, you can select only one radio button that comes under same [`GroupKey`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_GroupKey) at a time.
15
+
The [GroupKey](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_GroupKey) in [.NET MAUI Radio Button](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html) allows you to group a set of radio buttons present inside any layout. By grouping in this way, you can select only one radio button that comes under same [GroupKey](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioButton.html#Syncfusion_Maui_Buttons_SfRadioButton_GroupKey) at a time.
15
16
16
-
*[`CheckedItem`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedItem) - Gets the current checked item from radio group.
17
+
*[CheckedItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedItem) - Gets the current checked item from the .NET Maui Radio Button group.
17
18
18
19
{% tabs %}
19
20
{% highlight xaml %}
@@ -58,14 +59,14 @@ The [`GroupKey`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfR
58
59
59
60
### CheckedChanged event
60
61
61
-
The [`CheckedChanged`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedChanged) event of [`SfRadioGroupKey`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroupKey.html) occurs when a checked item is changed. The argument contains the following information:
62
+
The [CheckedChanged](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedChanged) event of [SfRadioGroup](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) occurs when a checked item is changed. The argument contains the following information:
62
63
63
-
*[`PreviousItem`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.CheckedChangedEventArgs.html#Syncfusion_Maui_Buttons_CheckedChangedEventArgs_PreviousItem)– Gets the previously checked radio button from group.
64
-
*[`CurrentItem`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.CheckedChangedEventArgs.html#Syncfusion_Maui_Buttons_CheckedChangedEventArgs_CurrentItem)– Gets the currently checked radio button from group.
64
+
*[PreviousItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.CheckedChangedEventArgs.html#Syncfusion_Maui_Buttons_CheckedChangedEventArgs_PreviousItem)- Gets the previously checked radio button from group.
65
+
*[CurrentItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.CheckedChangedEventArgs.html#Syncfusion_Maui_Buttons_CheckedChangedEventArgs_CurrentItem)- Gets the currently checked radio button from group.
65
66
66
-
## SfRadioGroup
67
+
## .NET MAUI Radio Group
67
68
68
-
[`SfRadioGroup`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) is a container that contains a set of radio buttons. When you select a radio button in a radio group, all other items will be automatically deselected. At any given time, you can only select one radio button from the same radio group. It also includes the [`CheckedChanged`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedChanged) event and the [`CheckedItem`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedItem) property.
69
+
[SfRadioGroup](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) is a container that contains a set of radio buttons. When you select a radio button in a .NET MAUI Radio Button group, all other items will be automatically deselected. At any given time, you can only select one radio button from the same .NET MAUI Radio Button group. It also includes the [CheckedChanged](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedChanged) event and the [CheckedItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html#Syncfusion_Maui_Buttons_SfRadioGroup_CheckedItem) property.
69
70
70
71
{% tabs %}
71
72
{% highlight xaml %}
@@ -94,9 +95,9 @@ The [`CheckedChanged`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Butto
[`SfRadioGroup`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) supports horizontal and vertical orientations. By default, [`SfRadioGroup`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) is rendered with vertical orientation. You can change the orientation using the `Orientation` property.
100
+
[SfRadioGroup](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Buttons.SfRadioGroup.html) supports horizontal and vertical orientations. By default, `SfRadioGroup` is rendered with vertical orientation. You can change the orientation using the `Orientation` property.
0 commit comments