Proprietà ContentControlExitingEventArgs.Cancel

Ottiene o imposta un valore che indica se annullare o meno l'evento Exiting.

Spazio dei nomi:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Sintassi

'Dichiarazione
Property Cancel As Boolean
    Get
    Set
bool Cancel { get; set; }

Valore proprietà

Tipo: System.Boolean
true se l'evento viene annullato; in caso contrario false.

Note

Se l'evento viene annullato, il controllo viene riportato allo stato attivo.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ContentControlExitingEventArgs Interfaccia

Spazio dei nomi Microsoft.Office.Tools.Word