TX Text Control .NET for Windows Forms

Caption Property

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

Description

Gets a descriptive or friendly column name. Returns the same value as the ColumnName property if not set explicitly.

Syntax

public string Caption { get; }

Examples

The following example includes the caption value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Caption: {dataColumnInfo.Caption}");
Console.WriteLine("Data Column Info is ready for use.");

Limitations

Read only.