TX Text Control .NET for WPF

IDataRowAdapter Interface

Interface|Introduced in 23.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.

Description

The IDataRowAdapter interface contains properties and methods implemented by data row instances used in the BlockMerging event.

Syntax

public interface IDataRowAdapter

Examples

The following example includes the item value from an IData Row Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Item: {iDataRowAdapter["Quarterly report"]}");
Console.WriteLine("IData Row Adapter is ready for use.");

Members

Properties

PropertyDescription
ItemThe indexer of the IDataRowAdapter interface returns the content of the row's column with the given name.
TableGets the table the data row belongs to as an instance of a class implementing the IDataTableAdapter interface.

Methods

MethodDescription
ContainsColumnNot described in the reference. bool ContainsColumn(string columnName);
GetChildRowsReturns the data of a child relation with a given name as an array of IDataRowAdapter instances.