Back to Devexpress

Worksheet.SelectedComment Property

officefileapi-devexpress-dot-spreadsheet-dot-worksheet-e3914a8f.md

latest1.7 KB
Original Source

Worksheet.SelectedComment Property

Gets or sets a comment selected in a worksheet.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Comment SelectedComment { get; set; }
vb
Property SelectedComment As Comment

Property Value

TypeDescription
Comment

A Comment object, or null ( Nothing in VB) if a comment is not selected.

|

Remarks

Use the SelectedComment property to obtain or specify a comment selected in a worksheet. If you assign a comment located in a worksheet other than the current worksheet, an exception is raised.

The SelectedComment property of the SpreadsheetControl or SpreadsheetControl object allows you to select a comment in the worksheet that is currently active in the control.

See Also

Worksheet Interface

Worksheet Members

DevExpress.Spreadsheet Namespace