Exemplo n.º 1
0
 protected override void UpdateDomBasedOnCheckedState(bool?isChecked)
 {
     INTERNAL_CheckBoxAndRadioButtonHelpers.UpdateDomBasedOnCheckedState(this, isChecked);
     //specifically sending the "change" event on the element that was changed programmatically so that it can then do the rest (setting the other radiobuttons' IsChecked to false and stuff).
     CSHTML5.Interop.ExecuteJavaScript(@"var evt = document.createEvent('Event');
                             evt.initEvent('change', false, false);
                             $0.dispatchEvent(evt);", INTERNAL_OptionalSpecifyDomElementConcernedByFocus);
 }
Exemplo n.º 2
0
 protected override void UpdateDomBasedOnCheckedState(bool?isChecked)
 {
     INTERNAL_CheckBoxAndRadioButtonHelpers.UpdateDomBasedOnCheckedState(this, isChecked);
 }