I am customizing the appearance of controls, in this case the RadioButton, I have followed the instructions to use the ToggleButton style template (not mentioned for radio button but for check boxes, however it works) but when the page loaded, the checked and unchecked status is not respected.
Scenario: there's a conditional statement on c# that checks a specific checkbox.
Code: Select all
if(value == 1)
RadioButton1.Checked = true;
But when I select another radio button from that radio butto group (contained in WrapPanel), the RadioButton is still checked. But when I clicked the Checked RadioButton first, it behaves normally.
Please see my sample video below (Uploaded to OneDrive)
Hoping for your feedback.