Condividi tramite


ContentControlBase.Exiting Event

Definition

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

public:
 event Microsoft::Office::Tools::Word::ContentControlExitingEventHandler ^ Exiting;
event Microsoft.Office.Tools.Word.ContentControlExitingEventHandler Exiting;
member this.Exiting : Microsoft.Office.Tools.Word.ContentControlExitingEventHandler 
Event Exiting As ContentControlExitingEventHandler 

Event Type

Remarks

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.

Applies to