FilterAndSortDialog Constructor
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Initializes a new instance of the FilterAndSortDialog class.
Syntax
FilterAndSortDialog(DataTableInfo)
Creates a FilterAndSortDialog object using the specified DocumentServer.DataSources.DataTableInfo object as a source for possible table column names.
public FilterAndSortDialog(DataTableInfo table);Public Sub New(table As DataTableInfo)| Parameter | Description |
|---|---|
| table | Specifies the DataTableInfo object which is used as a source for possible table column names. |
FilterAndSortDialog(string[])
Creates a FilterAndSortDialog object using a list of strings as a source for possible table column names.
public FilterAndSortDialog(string[] fieldNames);Public Sub New(fieldNames As String())| Parameter | Description |
|---|---|
| fieldNames | Specifies the possible column names. |
Examples
The following example creates a Filter And Sort Dialog instance and configures its allow transparency setting for a document workflow.
using TXTextControl.DocumentServer.Windows.Forms.FilterAndSortDialog filterAndSortDialog = new(new string[] { "CustomerName" });
filterAndSortDialog.AllowTransparency = true;Dim filterAndSortDialog As New TXTextControl.DocumentServer.Windows.Forms.FilterAndSortDialog(New String() { "CustomerName" })
filterAndSortDialog.AllowTransparency = True