TX Text Control .NET for WPF

SortingInstructions Property

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

Description

Gets the sorting instructions which were created using the dialog or sets the sorting instructions which are shown when the dialog is opened.

Syntax

public SortingInstruction[] SortingInstructions { get; set; }

Examples

The following example uses FilterAndSortDialog.SortingInstructions to configure sorting instructions as part of the filter and sort dialog workflow. The configured value is checked before the workflow continues.

filterAndSortDialog.SortingInstructions = new TXTextControl.DocumentServer.DataShaping.SortingInstruction[] { new TXTextControl.DocumentServer.DataShaping.SortingInstruction("Quarterly report") };
if (filterAndSortDialog.SortingInstructions != null)
{
    Console.WriteLine("Filter And Sort Dialog: Sorting Instructions is available.");
}