Indicates whether the event is being cancelled.
When the event is cancellable, set the property to True to cancel it.
Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public virtual bool Cancel { get; set; }
Property Value
BooleanExceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if an event delegate attempts to cancel a non-cancellable event. |
