Bookmark::Selected Event

 

Occurs when the Bookmark control is selected.

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

event SelectionEventHandler^ Selected {
	void add(SelectionEventHandler^ value);
	void remove(SelectionEventHandler^ value);
}

This event is raised when the selection changes to the Bookmark control.

The following code example adds a Bookmark control with text to the document and then creates a Selected event handler. A message box is displayed when the cursor is moved into the bookmark.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: