开发者

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

开发者 https://www.devze.com 2023-01-17 05:45 出处:网络
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

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消