TaskDialogAllowCancellation Property

Whether the task dialog can be cancelled if no cancel button is specified.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool AllowCancellation { get; set; }

Property Value

Boolean
Remarks
The default value is true. If there is a cancel button in the task dialog, the it always can be cancelled.
See Also