Class RowValidatingEventArgs
Represents the class that provides the information for the RowValidating event.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class RowValidatingEventArgs : GridEventArgs
Constructors
RowValidatingEventArgs(Boolean, DataRowBase, String, Object)
Initializes a new instance of the RowValidatingEventArgs class.
Declaration
public RowValidatingEventArgs(bool isValid, DataRowBase dataRow, string errorMessage, object originalSender)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | The value that specifies whether the row is valid or not. |
DataRowBase | dataRow | The data associated with the row. |
System.String | errorMessage | The error message of the row if not valid. |
System.Object | originalSender | The original sender of the event. |
Properties
DataRow
Gets the data object associated with the row.
Declaration
public DataRowBase DataRow { get; }
Property Value
Type |
---|
DataRowBase |
ErrorMessage
Gets or sets the error message of the row.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type |
---|
System.String |
IsValid
Gets or sets a value indicating whether the row is valid or not.
Declaration
public bool IsValid { get; set; }
Property Value
Type |
---|
System.Boolean |