Example #1
0
 protected void HandleCheckedChanged(UIChangeEventArgs e)
 {
     InternalValue = e.Value?.ToString().ToLowerInvariant() == (RadioGroup != null ? "on" : "true");
     CheckedChanged.InvokeAsync(Checked);
     NullableCheckedChanged.InvokeAsync(NullableChecked);
 }
 protected override Task OnInternalValueChanged(bool?value)
 {
     return(Task.WhenAll(
                CheckedChanged.InvokeAsync(Checked),
                NullableCheckedChanged.InvokeAsync(NullableChecked)));
 }