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.

Syntax

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

Constructors

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

Enumerations

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

Example

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

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

See Also