Class CommentCollection
Manages document comments and automatically removes associated comment range markers from paragraphs when comments are deleted.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Collections
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class CommentCollection : DocumentElementCollection<Comment, RadFlowDocument>, IList<Comment>, ICollection<Comment>, IEnumerable<Comment>, IEnumerable
Methods
AddComment()
Creates and appends a new comment to the collection and returns it for range marker placement and content configuration.
Declaration
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
protected override void OnAfterRemove(Comment item)
Parameters
|
Comment
item
The comment. |