ProgressInteractionOptions Properties
ClassProperties2 members
Options for configuring a progress interaction.
Gets or sets the optional title of the progress dialog.
public string? Title { get; set; } Gets or sets an optional asynchronous work callback to execute while the progress dialog is displayed.
public Func<ProgressContext, Task>? Work { get; set; }Remarks
When provided, the progress dialog remains open while this callback executes and closes automatically when the callback completes. The
ProgressContext.CancellationToken passed to the callback is triggered when the user clicks the cancel button or the operation is externally canceled. When not provided, the dialog remains open until the Threading.CancellationToken passed to IInteractionService.PromptProgressAsync is canceled.