コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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));
        }
コード例 #3
0
        protected Task ClickHandler()
        {
            ParentDropdown?.Toggle();

            return(Task.CompletedTask);
        }
コード例 #4
0
 protected void ClickHandler()
 {
     ParentDropdown?.Toggle();
 }