Bookmark::Deselected Event
Namespace:
Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Return to top
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
The following code example adds a Bookmark control with text to the first paragraph of the document and creates a Deselected event handler. A message box is displayed when the user moves the cursor from inside the bookmark to an area outside of the bookmark.
This example is for a document-level customization.
Show: