CommentCollection
Manages threaded comments in a worksheet, supporting add, remove, and lookup operations by cell index.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Comments
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class CommentCollection : FilteredShapeCollection<SpreadsheetComment>, IEnumerable<SpreadsheetComment>, IEnumerable
Inheritance: objectFilteredShapeCollection<SpreadsheetComment>CommentCollection
Implements:
Inherited Members
Methods
Creates and adds a new comment to the specified cell with author and text content.
public SpreadsheetComment Add(CellIndex relatedCellIndex, string author, string text, DateTime? creationDate = null)
Index of the cell assigned to the comment.
authorstringThe author.
textstringThe text.
creationDateDateTime?The date the comment is created.
Returns:The new comment.
Removes the specified comment and its fallback note from the worksheet.
public override bool Remove(SpreadsheetComment item)
The comment.
Returns:The value indicating whether the specified comment was found.
Overrides:
Properties
The shape type discriminator identifying this collection as containing comment shapes.
public override FloatingShapeType ShapeType { get; }
Overrides: