Share via


TaskForm.IsCancellable Property

Definition

When overridden in a derived class, returns a value indicating whether tasks can be canceled.

protected:
 virtual property bool IsCancellable { bool get(); };
protected virtual bool IsCancellable { get; }
member this.IsCancellable : bool
Protected Overridable ReadOnly Property IsCancellable As Boolean

Property Value

true if the tasks can be canceled; otherwise, false. The default implementation returns true.

Remarks

If a form is not cancelable, the OK button is hidden and the Cancel button is replaced with a Close button.

Applies to