TX Text Control .NET for Windows Forms

ConditionalInstructionNames Property

Property|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the names of all ConditionalInstruction elements that are listed inside the collection.

Syntax

public string[] ConditionalInstructionNames { get; }

Examples

The following example iterates through the conditional instruction names collection and processes each string.

foreach (string text in conditionalInstructionCollection.ConditionalInstructionNames)
{
    Console.WriteLine(text.Length);
}

Limitations

Read only.

Remarks

The property returns null, if the TextControl.IsFormFieldValidationEnabled property is set to false.