Skip to main content
A newer version of this page is available. .
Row

CommentRunCollection.Clear() Method

Removes all text from the comment.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

void Clear()

Remarks

The Clear method deletes all text from the comment, but the comment associated with this cell persists.

CommentRunsClear.png

To delete an individual comment run from the collection, use the CommentRunCollection.Remove or CommentRunCollection.RemoveAt method.

To add a comment run, use the CommentRunCollection.Add method.

See Also