FilterAndSortDialog Class
- Namespace
TXTextControl.DocumentServer. WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.WPF. dll
- Inherits
- Window
- Filter
And Sort Dialog
- Implements
- IComponent
Connector
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, IComponentConnectorPublic Class FilterAndSortDialog
Inherits Window
Implements IComponentConnectorExamples
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 = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| FilterAndSortDialog | Initializes a new instance of the FilterAndSortDialog class. |
Properties
| Property | Description |
|---|---|
| Filters | Gets the filter instructions which were created using the dialog or sets the filter instructions which are shown when the dialog is opened. |
| SortingInstructions | Gets the sorting instructions which were created using the dialog or sets the sorting instructions which are shown when the dialog is opened. |
Methods
| Method | Description |
|---|---|
| InitializeComponent | Not described in the reference. public void InitializeComponent(); |
| Show | Not described in the reference. public void Show(); |
| StoreBlockMetaData | Stores 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. |