Class RowValidatedEventArgs
Provides data for the RowValidated event.
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class RowValidatedEventArgs : GridEventArgsConstructors
RowValidatedEventArgs(Object, Int32, Dictionary<String, String>, Object)
Initializes a new instance of RowValidatedEventArgs class.
Declaration
public RowValidatedEventArgs(object rowData, int rowIndex, Dictionary<string, string> errorMessages, object originalSource)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | rowData | Gets the data object that associated with the row which triggers this event. | 
| System.Int32 | rowIndex | The index of the row . | 
| System.Collections.Generic.Dictionary<System.String, System.String> | errorMessages | Contains the error message to notify the validation error. | 
| System.Object | originalSource | The source of the event. | 
Properties
ErrorMessages
Gets or sets the error message that is used to display the error information in-case of invalid data when mouse over on GridCell of particular column.
Declaration
public Dictionary<string, string> ErrorMessages { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.String> | The dictionary that holds the column name as its key and the error message as its value to notify the error in data. | 
RowData
Gets the data object associated with row triggered this event.
Declaration
public object RowData { get; }Property Value
| Type | Description | 
|---|---|
| System.Object | The data item of corresponding row associated with the event. | 
RowIndex
Gets or sets the RowIndex of DataRow which triggers this event.
Declaration
public int RowIndex { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The index of the row which triggered this event. |