WPF Radiobutton equivalent

Posted by baron on Stack Overflow See other posts from Stack Overflow or by baron
Published on 2010-03-11T04:46:50Z Indexed on 2010/03/11 4:55 UTC
Read the original article Hit count: 756

Filed under:
|
|

What is the WPF equivalent for WinForms radio button CheckedChanged?

I have your basic 2 radio button set up, where when one is selected a textbox is enabled and when the other is selected it is disabled.

For the time being I was using RadioButton_Checked, except, I set IsChecked true for one button in the xaml. When I reference the textbox in that Checked method it throws NullReferenceException...

Let me know if you need code.

© Stack Overflow or respective owner

Related posts about radiobutton

Related posts about c#