Word.ContentControlEventArgs interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Provides information about the content control that raised an event.

[ API set: WordApi BETA (PREVIEW ONLY) ]

Properties

contentControl

The object that raised the event. Load this object to get its properties.

[ API set: WordApi BETA (PREVIEW ONLY) ]

eventType

The event type. See Word.EventType for details.

[ API set: WordApi BETA (PREVIEW ONLY) ]

Property Details

contentControl

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The object that raised the event. Load this object to get its properties.

[ API set: WordApi BETA (PREVIEW ONLY) ]

contentControl: Word.ContentControl;

Property Value

eventType

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The event type. See Word.EventType for details.

[ API set: WordApi BETA (PREVIEW ONLY) ]

eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "AnnotationAdded" | "AnnotationChanged" | "AnnotationDeleted";

Property Value

Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "AnnotationAdded" | "AnnotationChanged" | "AnnotationDeleted"