GotoDialog Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Form
- Goto
Dialog
Description
The GotoDialog class implements a Windows Forms 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 GotoDialog.DialogItem enumeration. The GotoDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The GotoDialog is a modeless dialog box which must be shown with the GotoDialog.Show method.
Syntax
public class GotoDialog : FormPublic Class GotoDialog
Inherits FormExamples
The following example creates a GotoDialog object and shows the dialog box:
GotoDialog dlg = new GotoDialog(textControl1);
dlg.Show();Dim dlg As New GotoDialog(textControl1)
dlg.Show()The following example creates a Goto Dialog instance and configures its allow transparency setting for a document workflow.
using GotoDialog gotoDialog = new(new TextControl());
gotoDialog.AllowTransparency = true;Dim gotoDialog As New GotoDialog(New TextControl())
gotoDialog.AllowTransparency = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| GotoDialog | Creates a GotoDialog object for the specified Windows Forms TextControl. |
Methods
| Method | Description |
|---|---|
| FindItem | Finds a control that has the provided identifier name. |
Enumerations
| Enumeration | Description |
|---|---|
| DialogItem | Each DialogItem represents an item in a GotoDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the GotoDialog.FindItem method to get the item and manipulate it. |