TX Text Control .NET Server

PossibleMergeFieldColumns Property

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

Description

Gets a DataColumnInfoCollection of DataColumnInfo objects representing the table columns which can be used as merge fields using the currently selected master table.

Syntax

public DataColumnInfoCollection PossibleMergeFieldColumns { get; }

Examples

The following example iterates through the possible merge field columns collection and processes each data column info.

foreach (TXTextControl.DocumentServer.DataSources.DataColumnInfo dataColumnInfo in dataSourceManager.PossibleMergeFieldColumns)
{
    Console.WriteLine(dataColumnInfo.Caption);
}

Limitations

Read only.