Class
CommentCollection

Manages document comments and automatically removes associated comment range markers from paragraphs when comments are deleted.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Collections

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public sealed class CommentCollection : DocumentElementCollection<Comment, RadFlowDocument>, IEnumerable

Inheritance: objectDocumentElementCollectionBase<Comment, RadFlowDocument>DocumentElementCollection<Comment, RadFlowDocument>CommentCollection

Implements: IEnumerable

Inherited Members DocumentElementCollectionBase<Comment, RadFlowDocument>.GetEnumerator()DocumentElementCollectionBase<Comment, RadFlowDocument>.IndexOf(Comment)DocumentElementCollectionBase<Comment, RadFlowDocument>.Insert(int, Comment)DocumentElementCollectionBase<Comment, RadFlowDocument>.InsertRange(int, IEnumerable<Comment>)DocumentElementCollectionBase<Comment, RadFlowDocument>.RemoveAt(int)DocumentElementCollectionBase<Comment, RadFlowDocument>.RemoveRange(int, int)DocumentElementCollectionBase<Comment, RadFlowDocument>.Clear()DocumentElementCollectionBase<Comment, RadFlowDocument>.Contains(Comment)DocumentElementCollectionBase<Comment, RadFlowDocument>.CopyTo(Comment[], int)DocumentElementCollectionBase<Comment, RadFlowDocument>.Remove(Comment)DocumentElementCollectionBase<Comment, RadFlowDocument>.Add(Comment)DocumentElementCollectionBase<Comment, RadFlowDocument>.CountDocumentElementCollectionBase<Comment, RadFlowDocument>.this[int]

Methods

AddComment()

Creates and appends a new comment to the collection and returns it for range marker placement and content configuration.

Declaration

cs-api-definition
public Comment AddComment()

Returns

Comment

The comment.

OnAfterRemove(Comment)

Removes the comment's range markers from their parent paragraphs after the comment is removed from the collection.

Declaration

cs-api-definition
protected override void OnAfterRemove(Comment item)

Parameters

item

Comment

The comment.

Overrides DocumentElementCollectionBase<Comment, RadFlowDocument>.OnAfterRemove(Comment)

In this article
DefinitionMethodsAddComment()OnAfterRemove(Comment)
Not finding the help you need?
Contact Support