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

            return(Task.CompletedTask);
        }
Exemple #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);
            }
        }
Exemple #3
0
 protected void ClickHandler()
 {
     Clicked?.Invoke();
     ParentTabs?.SelectTab(Name);
 }
Exemple #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);
        }