TXTextControl.WPF.DeleteBookmarksDialog Class

The DeleteBookmarksDialog class implements a 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 WPF.DeleteBookmarksDialog.DialogItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it. The WPF.DeleteBookmarksDialog is a modal dialog box which must be shown with the WPF.DeleteBookmarksDialog.ShowDialog method.

Introduced: 22.0.


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


Constructor Description
DeleteBookmarksDialog Creates a DeleteBookmarksDialog object for the specified WPF.TextControl.


Enumeration Description
DialogItem Each DialogItem represents an item in a WPF.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