TX Text Control .NET Server

SortOrder Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataShaping
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

Gets or sets the sort order (ascending / descending).

Syntax

public SortOrder SortOrder { get; set; }

Members

ValueDescription
AscendingAscending sort order.
DescendingDescending sort order.

Examples

The following example uses SortingInstruction.SortOrder to configure sort order as part of the sorting instruction workflow. The configured value is checked before the workflow continues.

sortingInstruction.SortOrder = TXTextControl.DocumentServer.DataShaping.SortOrder.Ascending;
Console.WriteLine($"Sort Order used by Sorting Instruction: {sortingInstruction.SortOrder}");