TX Text Control .NET for WPF

StoreBlockMetaData Method

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

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.

Syntax

public void StoreBlockMetaData(SubTextPart subTextPart);

Parameters

ParameterDescription
subTextPart

The SubTextPart object to add the filters and sorting instructions to.

Examples

The following example uses Store Block Meta Data in a focused Filter And Sort Dialog workflow. The created object is then available to the surrounding document workflow.

filterAndSortDialog.StoreBlockMetaData(new SubTextPart("CustomerName", 100));
Console.WriteLine("Filter And Sort Dialog is ready for use.");