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)
{
SymbolSpecification = "LotRenderer";
}
if (radWaterMeter.Checked == true)
{
SymbolSpecification = "WaterMeterRenderer";
}
As you can see, I don’t even use =+ or -=… I actually don’t have it anywhere in my code… Any help would be appreciated.
Checkedis the name of the event that is raised when aToggleButtonis checked. (TheRadioButtonclass derives fromToggleButton.)I assume you want to access the
IsCheckedproperty, which gets (or sets) whether theToggleButtonis checked.Hint: Most boolean properties related to the visual state start with
Is—in WPF.