TX Text Control .NET for WPF

DataRelations Property

Property|Introduced in 24.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 a DataRelationInfoCollection of DataRelationInfo objects which represent the data relations in the data source.

Syntax

public DataRelationInfoCollection DataRelations { get; }

Examples

The following example iterates through the data relations collection and processes each data relation info.

foreach (TXTextControl.DocumentServer.DataSources.DataRelationInfo dataRelationInfo in dataSourceManager.DataRelations)
{
    Console.WriteLine(dataRelationInfo.RelationName);
}

Limitations

Read only.