SortOrder Property
- Namespace
TXTextControl.DocumentServer. DataShaping
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the sort order (ascending / descending).
Syntax
public SortOrder SortOrder { get; set; }Public Property SortOrder As SortOrderMembers
| Value | Description |
|---|---|
| Ascending | Ascending sort order. |
| Descending | Descending 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}");sortingInstruction.SortOrder = TXTextControl.DocumentServer.DataShaping.SortOrder.Ascending
Console.WriteLine($"Sort Order used by Sorting Instruction: {sortingInstruction.SortOrder}")