Skip to content
DocsTry Aspire
DocsTry

CommandProgressOptions Properties

ClassProperties3 members
Options for displaying a progress dialog while a command is executing.
Gets or sets a value indicating whether the cancel button is hidden in the progress dialog.
public bool HideCancelButton { get; set; }
When false (the default), a cancel button is shown. Clicking it cancels the command via the ExecuteCommandContext.CancellationToken. When true, no cancel button is displayed and the user cannot cancel the operation from the dialog.
MessageSection titled Messagenullablestring?
Gets or sets the message to display in the progress dialog.
public string? Message { get; set; }
When not null or empty, a progress dialog is displayed while the command executes.
TitleSection titled Titlenullablestring?
Gets or sets the optional title of the progress dialog.
public string? Title { get; set; }