TXTextControl.DeleteBookmarksDialog Class

The DeleteBookmarksDialog class implements a Windows Forms dialog box which shows all targets in the current document. The user can jump to a target or can delete one or more targets. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the DeleteBookmarksDialog.DialogItem enumeration. The DeleteBookmarksDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The DeleteBookmarksDialog is a modal dialog box which must be shown with the DeleteBookmarksDialog.ShowDialog method.

Introduced: 23.0.


public class DeleteBookmarksDialog : System.Windows.Forms.Form
[Visual Basic]
Public Class DeleteBookmarksDialog
  Inherits System.Windows.Forms.Form


Constructor Description
DeleteBookmarksDialog Creates a DeleteBookmarksDialog object for the specified Windows Forms TextControl.


Method Description
FindItem Finds a control that has the provided identifier name.


Enumeration Description
DialogItem Each DialogItem represents an item in a DeleteBookmarksDialog dialog box.


The following example creates an DeleteBookmarksDialog object and shows the dialog box:

DeleteBookmarksDialog dlg = new DeleteBookmarksDialog(textControl1);
[Visual Basic]
Dim dlg As New DeleteBookmarksDialog(textControl1)

See Also