This documentation is archived and is not being maintained.

ContentControlBase.Exiting Event (2007 System)

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

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

public event EventHandler<ContentControlExitingEventArgs> Exiting

If the content control is nested inside another content control, the Exiting event is raised only for the nested control, not the parent control. For example, if the user clicks outside a PlainTextContentControl that is nested in a GroupContentControl, this event is raised only for the PlainTextContentControl; this event is not raised for the GroupContentControl.

For more information about handling events, see Consuming Events.