Hey, im trying to bind RadioButtonGroup.SelectedValue to a vaiable but dosent get it to work... Can someone see what im doing wrong here?
Here is my XAML Code:
<StackLayout RadioButtonGroup.GroupName="TrainingStyleRB"
RadioButtonGroup.SelectedValue="{Binding SelectedRadioButton}">
And here is my Code behind:
object SelectedRadioButton;
var test2 = (RadioButton) SelectedRadioButton;
var test3 = test2.Value;
Thankful for some tips!