ClickEventArgs.Cancel Property
Gets or sets a value indicating whether the event should be canceled.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Property Cancel As Boolean
bool Cancel { get; set; }
Property Value
Type: System.Boolean
true if the event should be canceled; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.