Modifica

Condividi tramite


DocumentEvents2_Event.ContentControlOnEnter Event

Definition

Occurs when a user enters a content control.

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_ContentControlOnEnterEventHandler ^ ContentControlOnEnter;
event Microsoft.Office.Interop.Word.DocumentEvents2_ContentControlOnEnterEventHandler ContentControlOnEnter;
member this.ContentControlOnEnter : Microsoft.Office.Interop.Word.DocumentEvents2_ContentControlOnEnterEventHandler 
Event ContentControlOnEnter As DocumentEvents2_ContentControlOnEnterEventHandler 

Event Type

Remarks

Important: This event fires only for the content control that you enter and not for parent content controls. For example, if you have a text box content control nested inside a group content control, and you place the cursor inside the text box content control, this event fires only once for the text box content control; it does not fire for the parent group content control.

For information about using events with the _Document object, see Using Events with the Document Object

Applies to