Skip to main content
All docs
V23.2

UICommand.AsyncDisplayMode Property

Gets or sets how the dialog button indicates executed asynchronous operations.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v23.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public AsyncDisplayMode AsyncDisplayMode { get; set; }

Property Value

Type Description
AsyncDisplayMode

The value that specifies how the dialog button indicates executed asynchronous operations.

Available values:

Name Description
None

Asynchronous operations are executed without a visual indication.

Wait

The button displays the wait indicator during the asynchronous operation.

WaitCancel

The button displays the wait indicator and changes it to the cancel button when a user hovers the mouse pointer over the wait indicator. If a user presses the cancel button, the associated asynchronous command’s IsCancellationRequested property is changed to true.

See Also