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.

Syntax

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

Constructors

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

Methods

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

Enumerations

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

Example

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

[C#]
DeleteBookmarksDialog dlg = new DeleteBookmarksDialog(textControl1);
dlg.ShowDialog();
[Visual Basic]
Dim dlg As New DeleteBookmarksDialog(textControl1)
dlg.ShowDialog()

See Also