ConditionalInstructionsItem 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 ConditionalInstructionsItem represents an item in a predefined ConditionalInstructions control. The corresponding string of a ConditionalInstructionsItem is the same as the item's Name property. The ConditionalInstructionsItem enumeration can be used with the Sidebar.FindItem method to get the item and manipulate it.
Syntax
public enum Sidebar.ConditionalInstructionsItemPublic Enum Sidebar.ConditionalInstructionsItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_OverviewLabel | 0 | Identifies the Conditional Instructions overview label. |
| TXITEM_Overview | 1 | Identifies the Conditional Instructions overview. |
| TXITEM_ConditionsLabel | 2 | Identifies the Conditions overview label. |
| TXITEM_Conditions | 3 | Identifies the Conditions overview. |
| TXITEM_InstructionsLabel | 4 | Identifies the Instructions overview label. |
| TXITEM_Instructions | 5 | Identifies the Instructions overview. |
| TXITEM_New | 6 | Identifies the Conditional Instructions New button. |
| TXITEM_Edit | 7 | Identifies the Conditional Instructions Edit button. |
| TXITEM_Delete | 8 | Identifies the Conditional Instructions Edit button. |
Examples
The following example selects the TXITEM_Overview Label value from the Conditional Instructions Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.ConditionalInstructionsItem value = TXTextControl.Windows.Forms.Sidebar.ConditionalInstructionsItem.TXITEM_OverviewLabel;
Console.WriteLine($"Using Conditional Instructions Item: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.ConditionalInstructionsItem = TXTextControl.Windows.Forms.Sidebar.ConditionalInstructionsItem.TXITEM_OverviewLabel
Console.WriteLine($"Using Conditional Instructions Item: {value}")