This is a migrated thread and some comments may be shown as answers.

How to Bind a nullable bool in VM to RadRadioButton

1 Answer 179 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Patrick asked on 02 May 2013, 07:16 PM
I am struggling with how I go about this?  In my VM I have a nullable bool property that I want to bind to a Yes/No(true/false) RadRadioButton.  Can someone point me in the right direction?  

public bool? IsSDS { get; set; }
<telerik:Label Content="Self Directed Support" />
<StackPanel Orientation="Horizontal">
     <telerik:RadRadioButton x:Name="SelfDirectedSupportYes" Content="Yes" />
     <telerik:RadRadioButton x:Name="SelfDirectedSupportNo" Content="No" />
</StackPanel>

1 Answer, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 2
answered on 03 May 2013, 12:05 PM
for reference to others I got an answer here --> StackOverflow
Tags
Buttons
Asked by
Patrick
Top achievements
Rank 2
Answers by
Patrick
Top achievements
Rank 2
Share this question
or