TX Text Control .NET for WPF

FilterAndSortDialog Constructor

Constructor|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.WPF.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 allows transparency setting for a document workflow.

TXTextControl.DocumentServer.WPF.FilterAndSortDialog filterAndSortDialog = new(new string[] { "CustomerName" });
filterAndSortDialog.AllowsTransparency = true;