The WPF.BookmarkDialog class implements a dialog box to insert a DocumentTarget at the current input position. If there is a target at the current input position, the name of the target is shown and can be edited. The dialog box can only be opened, if either DocumentTargetCollection.CanAdd returns true or if DocumentTargetCollection.GetItem() does not return null. Otherwise, an exception occurs. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the WPF.BookmarkDialog.DialogItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it. The WPF.BookmarkDialog is a modal dialog box which must be shown with the WPF.BookmarkDialog.ShowDialog method.

Syntax

public class BookmarkDialog : System.Windows.Window
Public Class BookmarkDialog
  Inherits System.Windows.Window

Introduced: X12.

Examples

Enter an introductory text for your TXTextControl.WPF.BookmarkDialog Class example here, or leave blank, if there is nothing to say.

TXTextControl.WPF.BookmarkDialog dlg = new TXTextControl.WPF.BookmarkDialog(textControl1);
dlg.ShowDialog();
Dim dlg As New TXTextControl.WPF.BookmarkDialog(textControl1)
dlg.ShowDialog()

Constructors

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

Enumerations

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