TX Text Control .NET Server

Comments Property

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

Description

Gets a collection of all comments. The property's value is an object of the type CommentCollection.

Syntax

public CommentCollection Comments { get; }

Examples

The following example iterates through the comments collection and processes each commented text.

foreach (CommentedText commentedText in textControl.Comments)
{
    Console.WriteLine(commentedText.Active);
}

Limitations

Read only.