/// <summary> /// Handles the item onclick event. /// </summary> /// <returns>A task that represents the asynchronous operation.</returns> protected Task ClickHandler() { if (!Disabled) { ParentDropdown?.Toggle(); } return(Task.CompletedTask); }
/// <summary> /// Handles the item onclick event. /// </summary> /// <returns>A task that represents the asynchronous operation.</returns> protected Task ClickHandler() { if (!Disabled) { ParentDropdown?.Toggle(); } return(Clicked.InvokeAsync(null)); }
protected Task ClickHandler() { ParentDropdown?.Toggle(); return(Task.CompletedTask); }
protected void ClickHandler() { ParentDropdown?.Toggle(); }