コード例 #1
0
 private Task OnRadioItemChanged(CheckboxState state, SelectedItem item)
 {
     RadioDropDownItems.Add(new SelectedItem($"{RadioDropDownItems.Count() + 1}", $"城市 {RadioDropDownItems.Count()}"));
     StateHasChanged();
     return(Task.CompletedTask);
 }
コード例 #2
0
 private void OnRadioItemChanged(CheckboxState state, SelectedItem item)
 {
     RadioDropDownItems.Add(new SelectedItem($"{RadioDropDownItems.Count() + 1}", $"城市 {RadioDropDownItems.Count()}"));
     StateHasChanged();
 }