Edit the image folder duration Cancel Save Changes @code { [Parameter] public double? ImageFolderDuration { get; set; } [CascadingParameter] IMudDialogInstance MudDialog { get; set; } private double? _imageDurationSeconds; protected override void OnParametersSet() => _imageDurationSeconds = ImageFolderDuration; private void Submit() => MudDialog.Close(DialogResult.Ok(_imageDurationSeconds)); private void Cancel() => MudDialog.Cancel(); }