Skip to main content
Row

SpreadsheetValidateCustomSqlQueryEventArgs(String, Boolean) Constructor

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public SpreadsheetValidateCustomSqlQueryEventArgs(
    string sql,
    bool valid
)

Parameters

Name Type Description
sql String

A String value that is the custom SQL query being validated.

valid Boolean

A Boolean value that specifies whether or not the specified SQL query is valid.

Remarks

The SpreadsheetValidateCustomSqlQueryEventArgs is created automatically and passed to the handler of the SpreadsheetControl.ValidateCustomSqlQuery event.

See Also