TX Text Control .NET for WPF

FilterAndSortDialog Class

Class|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.WPF.dll from the setup.
Inherits
  1. Window
  2. FilterAndSortDialog
Implements
IComponentConnector

Description

The FilterAndSortDialog class allows the user to specify filters and sorting instructions for merge blocks. The FilterAndSortDialog is a modal dialog box which must be shown with the FilterAndSortDialog.ShowDialog method.

Syntax

public class FilterAndSortDialog : Window, IComponentConnector

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;

Members

Constructors

ConstructorDescription
FilterAndSortDialogInitializes a new instance of the FilterAndSortDialog class.

Properties

PropertyDescription
FiltersGets the filter instructions which were created using the dialog or sets the filter instructions which are shown when the dialog is opened.
SortingInstructionsGets the sorting instructions which were created using the dialog or sets the sorting instructions which are shown when the dialog is opened.

Methods

MethodDescription
InitializeComponentNot described in the reference. public void InitializeComponent();
ShowNot described in the reference. public void Show();
StoreBlockMetaDataStores filters and sorting instructions created with the dialog in a SubTextPart object if the SubTextPart is a merge block. Throws an exception if the SubTextPart object is not a merge block.