TX Text Control .NET for WPF

OrderBy Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataShaping
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the table column name to order the data by.

Syntax

public string OrderBy { get; set; }

Examples

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

sortingInstruction.OrderBy = "Quarterly report";
if (!string.IsNullOrWhiteSpace(sortingInstruction.OrderBy))
{
    Console.WriteLine($"Order By: {sortingInstruction.OrderBy}");
}