TX Text Control .NET for Windows Forms

FilterAndSortDialog Constructor

Constructor|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

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);
ParameterDescription
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);
ParameterDescription
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;