SortingInstructions Property
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property SortingInstructions As SortingInstruction()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();filterAndSortDialog.SortingInstructions = New TXTextControl.DocumentServer.DataShaping.SortingInstruction() { New TXTextControl.DocumentServer.DataShaping.SortingInstruction("Quarterly report") }
filterAndSortDialog.Update()