TX Text Control .NET Server

ConditionalInstructionNames Property

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

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.