Dela via


Document.ContentControlOnExit Event (2007 System)

Occurs when the user clicks outside a content control, or when the cursor is moved outside a content control programmatically.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Event ContentControlOnExit As DocumentEvents2_ContentControlOnExitEventHandler
'Usage
Dim instance As Document 
Dim handler As DocumentEvents2_ContentControlOnExitEventHandler 

AddHandler instance.ContentControlOnExit, handler
public event DocumentEvents2_ContentControlOnExitEventHandler ContentControlOnExit
public:
 event DocumentEvents2_ContentControlOnExitEventHandler^ ContentControlOnExit {
    void add (DocumentEvents2_ContentControlOnExitEventHandler^ value);
    void remove (DocumentEvents2_ContentControlOnExitEventHandler^ value);
}
JScript does not support events.

Remarks

For more information about handling events, see Consuming Events.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace