how to use radio buttons in xamarin forms : <p>Creating a Registration page i need to get following data from user.
-First Name
-Last Name
-Username
-Email
-Password
-Date of Birth
-<strong>Gender</strong>
-<strong>User Role</strong></p>

<p>For Last to parameters I am unable to find how to use radio buttons in xamarin forms. Following is my code for Registration Page.</p>

<pre><code>&lt;StackLayout BackgroundColor="#30af91" Padding="60"&gt;


&lt;Entry Text="{Binding FirstName}" Placeholder="First Name"/&gt;
&lt;Entry Text="{Binding LastName}" Placeholder="Last Name"/&gt;
&lt;Entry Text="{Binding UserName}" Placeholder="Last Name"/&gt;
&lt;Entry Text="{Binding Email}" Placeholder="Email" /&gt;
&lt;Entry Text="{Binding Password}" Placeholder="Password" IsPassword="True"/&gt;
&lt;Entry Text="{Binding ConfirmPassword}" Placeholder="Confirm Password" IsPassword="True"/&gt;
&lt;DatePicker MinimumDate="1/1/1948" MaximumDate="12/31/2007"/&gt;


&lt;!--Radio buttons for Gender
    1. Male   2.Female--&gt;

&lt;!--Radio Buttons for UserRole
    1. Admin  2.Participant--&gt;

&lt;Button Command="{Binding RegisterCommand}" Text="Register"/&gt;
&lt;Label Text="{Binding Message}" /&gt;


&lt;/StackLayout&gt;
</code></pre>
