TX Text Control .NET for Windows Forms

SortingInstructions Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.Windows.Forms.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 change is then applied to the active document or user interface.

filterAndSortDialog.SortingInstructions = new TXTextControl.DocumentServer.DataShaping.SortingInstruction[] { new TXTextControl.DocumentServer.DataShaping.SortingInstruction("Quarterly report") };
filterAndSortDialog.Update();