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.
[C#] public class GotoDialog : System.Windows.Window
[Visual Basic] Public Class GotoDialog Inherits System.Windows.Window
|DialogItem||Each DialogItem represents an item in a WPF.GotoDialog dialog box.|
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()