/// <summary> /// Handles the step onclick event. /// </summary> /// <returns>A task that represents the asynchronous operation.</returns> protected Task ClickHandler() { Clicked?.Invoke(); ParentSteps?.SelectStep(Name); return(Task.CompletedTask); }
/// <inheritdoc/> protected override void OnInitialized() { ParentSteps?.NotifyStepInitialized(Name); ParentStepsContent?.NotifyStepPanelInitialized(Name); base.OnInitialized(); }
/// <inheritdoc/> protected override void Dispose(bool disposing) { if (disposing) { ParentSteps?.NotifyStepRemoved(Name); } base.Dispose(disposing); }
/// <summary> /// Handles the step onclick event. /// </summary> /// <returns>A task that represents the asynchronous operation.</returns> protected async Task ClickHandler() { await Clicked.InvokeAsync(); if (ParentSteps != null) { await ParentSteps.SelectStep(Name); } }
protected override void OnInitialized() { if (ParentSteps != null) { ParentSteps.NotifyStepInitialized(Name); } base.OnInitialized(); }
/// <inheritdoc/> protected override void Dispose(bool disposing) { if (disposing) { if (ParentStepsState != null) { ParentSteps.NotifyStepRemoved(Name); } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (ParentSteps != null) { ParentSteps.NotifyStepRemoved(Name); } if (ParentStepsContent != null) { ParentStepsContent.NotifyStepPanelRemoved(Name); } } base.Dispose(disposing); }