Class DataGridRowValidatedEventArgs
Provides data for the RowValidated event.
Inheritance
System.Object
DataGridRowValidatedEventArgs
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridRowValidatedEventArgs : EventArgs
Constructors
DataGridRowValidatedEventArgs(Object, Int32, Dictionary<String, String>, Object)
Initializes a new instance of DataGridRowValidatedEventArgs class.
Declaration
public DataGridRowValidatedEventArgs(object rowData, int rowIndex, Dictionary<string, string> errorMessages, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rowData | The underlying data for the row. |
System.Int32 | rowIndex | The row index. |
System.Collections.Generic.Dictionary<System.String, System.String> | errorMessages | The dictionary to store error messages. |
System.Object | originalSource | The source of the event. |
Properties
ErrorMessages
Gets or sets the error messages for the columns in a particular row.
Declaration
public Dictionary<string, string> ErrorMessages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | Returns the error messages for the columns in a particular row. |
Remarks
Key value pairs where key is the mapping name of the column and value is the error message.
RowData
Gets or sets the underlying data object for row.
Declaration
public object RowData { get; }
Property Value
Type | Description |
---|---|
System.Object | Returns the underlying data object for row. |
RowIndex
Gets or sets the row index.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Returns the row index. |