TX Text Control .NET for WPF

ConditionalInstructionsItem Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.

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 FrameworkElement.FindName method to get the item and manipulate it.

Syntax

public enum Sidebar.ConditionalInstructionsItem

Members

MemberValueDescription
TXITEM_OverviewLabel0Identifies the Conditional Instructions overview label.
TXITEM_Overview1Identifies the Conditional Instructions overview.
TXITEM_ConditionsLabel2Identifies the Conditions overview label.
TXITEM_Conditions3Identifies the Conditions overview.
TXITEM_InstructionsLabel4Identifies the Instructions overview label.
TXITEM_Instructions5Identifies the Instructions overview.
TXITEM_New6Identifies the Conditional Instructions New button.
TXITEM_Edit7Identifies the Conditional Instructions Edit button.
TXITEM_Delete8Identifies 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.WPF.Sidebar.ConditionalInstructionsItem value = TXTextControl.WPF.Sidebar.ConditionalInstructionsItem.TXITEM_OverviewLabel;
Console.WriteLine($"Using Conditional Instructions Item: {value}");