FieldNavigatorItem Enumeration
- Namespace
TXTextControl.Windows. Forms
- 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
Description
Each FieldNavigatorItem represents an item in a predefined FieldNavigator control. The corresponding string of a FieldNavigatorItem is the same as the item's Name property. The FieldNavigatorItem enumeration can be used with the Sidebar.FindItem method to get the item and manipulate it.
Syntax
public enum Sidebar.FieldNavigatorItemPublic Enum Sidebar.FieldNavigatorItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_SearchTextBox | 0 | Identifies the Field Navigator search text box. |
| TXITEM_SearchButton | 1 | Identifies the Field Navigator search button. |
| TXITEM_MergeItems | 2 | Identifies the tab control that contains the merge field and merge block tree views. |
| TXITEM_FirstVerticalSeparator | 3 | Identifies the first vertical separator that is displayed when applying the horizontal or dialog sidebar layout. |
| TXITEM_MergeFieldPropertiesPanel | 4 | Identifies the panel that includes all Merge Field Properties related controls. |
| TXITEM_MergeFieldPropertiesToggleItem | 5 | Identifies the Merge Field Properties +/- toggle item. |
| TXITEM_MergeFieldPropertiesLabel | 6 | Identifies the Merge Field Properties label. |
| TXITEM_MergeFieldPropertiesSeparator | 7 | Identifies the Merge Field Properties separator. |
| TXITEM_MergeFieldPropertiesSubpanel | 8 | Identifies the panel that includes the controls TXITEM_MergeFieldName, TXITEM_MergeFieldNameTextBox, TXITEM_Text, TXITEM_TextTextBox, TXITEM_Format, TXITEM_FormatComboBox, TXITEM_TextBefore, TXITEM_TextBeforeTextBox, TXITEM_TextAfter, TXITEM_TextAfterTextBox, TXITEM_DateFormat, TXITEM_DateFormatComboBox, TXITEM_NumericFormat, TXITEM_NumericFormatComboBox, TXITEM_PreserveFormatting and TXITEM_MergeFieldDelete. |
| TXITEM_MergeFieldName | 9 | Identifies the Merge Field Properties' Name label. |
| TXITEM_MergeFieldNameTextBox | 10 | Identifies the Merge Field Properties' Name text box. |
| TXITEM_Text | 11 | Identifies the Merge Field Properties' Text label. |
| TXITEM_TextTextBox | 12 | Identifies the Merge Field Properties' Text text box. |
| TXITEM_Format | 13 | Identifies the Merge Field Properties' Format label. |
| TXITEM_FormatComboBox | 14 | Identifies the Merge Field Properties' Format combo box. |
| TXITEM_TextBefore | 15 | Identifies the Merge Field Properties' Text Before label. |
| TXITEM_TextBeforeTextBox | 16 | Identifies the Merge Field Properties' Text Before text box. |
| TXITEM_TextAfter | 17 | Identifies the Merge Field Properties' Text After label. |
| TXITEM_TextAfterTextBox | 18 | Identifies the Merge Field Properties' Text After text box. |
| TXITEM_DateFormat | 19 | Identifies the Merge Field Properties' Date / Time Format label. |
| TXITEM_DateFormatComboBox | 20 | Identifies the Merge Field Properties' Date / Time Format combo box. |
| TXITEM_NumericFormat | 21 | Identifies the Merge Field Properties' Numeric Format label. |
| TXITEM_NumericFormatComboBox | 22 | Identifies the Merge Field Properties' Numeric Format combo box. |
| TXITEM_PreserveFormatting | 23 | Identifies the Merge Field Properties' Preserve Formatting check box. |
| TXITEM_MergeFieldDelete | 24 | Identifies the Merge Field Properties' Delete button. |
| TXITEM_SecondVerticalSeparator | 25 | Identifies the second vertical separator that is displayed when applying the horizontal sidebar layout. |
| TXITEM_MergeBlockPropertiesPanel | 26 | Identifies the panel that includes all Merge Block Properties related controls. |
| TXITEM_MergeBlockPropertiesToggleItem | 27 | Identifies the Merge Block Properties +/- toggle item. |
| TXITEM_MergeBlockPropertiesLabel | 28 | Identifies the Merge Block Properties label. |
| TXITEM_MergeBlockPropertiesSeparator | 29 | Identifies the Merge Block Properties separator. |
| TXITEM_MergeBlockPropertiesSubpanel | 30 | Identifies the panel that includes the controls TXITEM_MergeBlockName, TXITEM_MergeBlockNameTextBox and TXITEM_MergeBlockDelete. |
| TXITEM_MergeBlockName | 31 | Identifies the Merge Block Properties' Name label. |
| TXITEM_MergeBlockNameTextBox | 32 | Identifies the Merge Block Properties' Name text box. |
| TXITEM_MergeBlockDelete | 33 | Identifies the Merge Block Properties' Delete button. |
Examples
The following example selects the TXITEM_Search Text Box value from the Field Navigator Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.FieldNavigatorItem value = TXTextControl.Windows.Forms.Sidebar.FieldNavigatorItem.TXITEM_SearchTextBox;
Console.WriteLine($"Using Field Navigator Item: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.FieldNavigatorItem = TXTextControl.Windows.Forms.Sidebar.FieldNavigatorItem.TXITEM_SearchTextBox
Console.WriteLine($"Using Field Navigator Item: {value}")