Exemplo n.º 1
0
        protected Task ClickHandler()
        {
            Clicked?.Invoke();
            ParentTabs?.SelectTab(Name);

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