예제 #1
0
        protected Task ClickHandler()
        {
            Clicked?.Invoke();
            ParentTabs?.SelectTab(Name);

            return(Task.CompletedTask);
        }
예제 #2
0
        /// <summary>
        /// Handles the item onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected async Task ClickHandler()
        {
            await Clicked.InvokeAsync();

            if (ParentTabs != null)
            {
                await ParentTabs.SelectTab(Name);
            }
        }
예제 #3
0
 protected void ClickHandler()
 {
     Clicked?.Invoke();
     ParentTabs?.SelectTab(Name);
 }
예제 #4
0
        /// <summary>
        /// Handles the item onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected async Task ClickHandler()
        {
            await Clicked.InvokeAsync();

            ParentTabs?.SelectTab(Name);
        }