Skip to main content

SpreadsheetCellValidatingEventArgs(Worksheet, Int32, Int32, String) Constructor

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

Namespace: DevExpress.XtraSpreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public SpreadsheetCellValidatingEventArgs(
    Worksheet sheet,
    int columnIndex,
    int rowIndex,
    string editorText
)

Parameters

Name Type Description
sheet DevExpress.XtraSpreadsheet.Model.Worksheet

A Worksheet object specifying the worksheet that contains the cell for which the event has been raised.

columnIndex Int32

An integer specifying an index of the column that contains the cell for which the event has been raised.

rowIndex Int32

An integer specifying an index of the row that contains the cell for which the event has been raised.

editorText String

A string specifying the text entered in the cell editor.

Remarks

The SpreadsheetCellValidatingEventArgs class instance is created automatically and passed to the handler of the SpreadsheetControl.CellEndEdit event.

See Also