TX Text Control .NET Server

Sort Property

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

Description

Specifies whether the list can be sorted.

Syntax

public bool Sort { get; set; }

Examples

The following example uses FormChoiceField.Sort to configure sort as part of the form choice field workflow. The configured value is checked before the workflow continues.

formChoiceField.Sort = true;
if (formChoiceField.Sort)
{
    Console.WriteLine("Form Choice Field: Sort is enabled.");
}