TXTextControl.WPF.GotoDialog Class

The GotoDialog class implements a dialog box which can be used to move the current input position to a certain page, section, line, table or bookmark. The new input position is shown with a marker. The dialog can be opened as a modeless dialog box. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the WPF.GotoDialog.DialogItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it. The WPF.GotoDialog is a modeless dialog box which must be shown with the WPF.GotoDialog.Show method.

Introduced: 22.0.


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


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


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


The following example creates a GotoDialog object and shows the dialog box:

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

See Also