# MergeBlockInfo.Filters Property

> Gets or sets a list of filter instructions which are used to filter the data rows before merging. To not filter the block data, just leave this property empty or set it to null.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.DataSources > MergeBlockInfo.Filters Property
- **343 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergeblockinfo/filters-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergeblockinfo/filters-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergeblockinfo/filters-property/llms-full.txt

---

### Description

Gets or sets a list of filter instructions which are used to filter the data rows before merging. To not filter the block data, just leave this property empty or set it to null.

### Syntax

```csharp
public List<FilterInstruction> Filters { get; set; }
```

```vbnet
Public Property Filters As List(Of FilterInstruction)
```

### Examples

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

```csharp
mergeBlockInfo.Filters = new List<TXTextControl.DocumentServer.DataShaping.FilterInstruction>();
mergeBlockInfo.Apply();
```

```vbnet
mergeBlockInfo.Filters = New List(Of TXTextControl.DocumentServer.DataShaping.FilterInstruction)()
mergeBlockInfo.Apply()
```

---

## Nearby

- **Previous:** [MergeBlockInfo Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergeblockinfo/constructor/llms-full.txt)
- **Next:** [MergeBlockInfo.MergeFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/mergeblockinfo/mergefields-property/llms-full.txt)
