FilterAndSortDialog Constructor
- Namespace
TXTextControl.DocumentServer. WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWPF. 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 allows transparency setting for a document workflow.
TXTextControl.DocumentServer.WPF.FilterAndSortDialog filterAndSortDialog = new(new string[] { "CustomerName" });
filterAndSortDialog.AllowsTransparency = true;Dim filterAndSortDialog As New TXTextControl.DocumentServer.WPF.FilterAndSortDialog(New String() { "CustomerName" })
filterAndSortDialog.AllowsTransparency = True