Back to Devexpress

UICommand.AsyncDisplayMode Property

corelibraries-devexpress-dot-mvvm-dot-uicommand-a3d3a06d.md

latest1.7 KB
Original Source

UICommand.AsyncDisplayMode Property

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

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
public AsyncDisplayMode AsyncDisplayMode { get; set; }
vb
Public Property AsyncDisplayMode As AsyncDisplayMode

Property Value

TypeDescription
AsyncDisplayMode

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

|

Available values:

NameDescription
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

UICommand Class

UICommand Members

DevExpress.Mvvm Namespace