Exemplo n.º 1
0
        /// <summary>
        /// Handles the header onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected async Task ClickHandler()
        {
            if (ParentCollapse != null)
            {
                await ParentCollapse.Toggle();
            }

            await Clicked.InvokeAsync();
        }
Exemplo n.º 2
0
        protected Task ClickHandler()
        {
            ParentCollapse.Toggle();

            return(Task.CompletedTask);
        }
        /// <summary>
        /// Handles the header onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected Task ClickHandler()
        {
            ParentCollapse.Toggle();

            return(Clicked.InvokeAsync(null));
        }