TX Text Control .NET for WPF

BlockMergingCondition Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a condition the parent data row of this merge block has to satisfy so that this merge block is merged at all. To keep the merge block independent of a condition just leave this property at the default value null.

Syntax

public List<FilterInstruction> BlockMergingCondition { get; set; }

Examples

The following example uses MergeBlockInfo.BlockMergingCondition to configure block merging condition as part of the merge block info workflow. The change is then applied to the active document or user interface.

mergeBlockInfo.BlockMergingCondition = new List<TXTextControl.DocumentServer.DataShaping.FilterInstruction>();
mergeBlockInfo.Apply();