I am having the strangest problem, and I have to be missing something.
Here is my code that is causing the error.
if (radLot.Checked == true) { S
This is indeed true - just hit this problem myself converting from Winforms to WPF.
Winforms
WPF
In WPF using:
if (radiobutton1.IsChecked == true)
works
BUT
if (radiobutton1.IsChecked)
Does not.
However in WinForms
WinForms
if (radiobutton1.Checked)
works but does not in WPF.