TaskForm.IsCancellable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.