Skip to main content
Row

CommentInsertingEventArgs(String, String, String, String, Boolean) Constructor

Initializes a new instance of the CommentInsertingEventArgs class with the specified settings.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public CommentInsertingEventArgs(
    string sheetName,
    string reference,
    string author,
    string text,
    bool visible
)

Parameters

Name Type Description
sheetName String

A string that is the worksheet name.

reference String

A string that is the reference to the commented cell.

author String

A string that specifies the comment author.

text String

A string that is the text to be displayed in the comment box.

visible Boolean

True, if the comment is displayed; otherwise, false.

Remarks

The CommentInsertingEventArgs is created automatically and passed to the handlers of the SpreadsheetControl.CommentInserting event.

See Also