.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

CommentRunCollection.Clear() Method

Removes all text from the comment.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Clear()
Sub Clear
void Clear()
Sub Clear
void Clear()
Sub 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