Shashank
Shashank

Reputation: 6337

how can i get the radio button inside a Wpf item template column

i hv a problem i m using Wpf Grid there is one itemtemplate column(radio button) my grid first row bind always with my form load event but the radio button is not selected..i want bind the row with radio button selcted

how can i achive it

Upvotes: 1

Views: 571

Answers (1)

mdm20
mdm20

Reputation: 4563

Put a boolean in the your model class and bind the Radiobutton.IsChecked to that property. Then you will just have to set that property in your model to make the button be checked.

Upvotes: 1

Related Questions