Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Worksheet.SelectedComment Property

Gets or sets a comment selected in a worksheet.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Comment SelectedComment { get; set; }

#Property Value

Type Description
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