officefileapi-devexpress-dot-spreadsheet-dot-threadedcomment-334d750f.md
Gets or sets the comment text.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
string Text { get; set; }
Property Text As String
| Type | Description |
|---|---|
| String |
The text of the comment.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Text property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/SpreadsheetActions/CellActions.cs#L484
commentE2.Text = "This comment is copied from the cell " + commentedCell.GetReferenceA1();
#endregion #AddComment
See Also