I am a beginner in the universe Xamarin
.
How to insert RadioButton
to "Male" and "Female" in Cross Platform
in xaml?
I am a beginner in the universe Xamarin
.
How to insert RadioButton
to "Male" and "Female" in Cross Platform
in xaml?
RadioButton
is platform dependent. You'll have to make yours, or use one already made by other programmers .
If you choose to use this xaml
would be as follows:
//No seu elemento do form
xmlns:custom="clr-namespace:XFormsRadioButton.CustomControls;assembly=XFormsRadioButton"
<custom:BindableRadioGroup x:Name="MyRadiouGroup"
ItemsSource="{Binding Path=Sexos}"
SelectedIndex="{Binding SexoSelecionado}" VerticalOptions="Start" />