Compartilhar via


CommonMessagePump.AllowCancel Property

Definition

Controls if the wait dialog has an enabled cancel button.

public:
 property bool AllowCancel { bool get(); void set(bool value); };
public:
 property bool AllowCancel { bool get(); void set(bool value); };
public bool AllowCancel { get; set; }
member this.AllowCancel : bool with get, set
Public Property AllowCancel As Boolean

Property Value

true if the wait dialog has an enabled cancel button, otherwise false.

Remarks

This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.

Applies to