Class DataGridCellValidatingEventArgs
Provides data for the CellValidating event.
Inheritance
System.Object
DataGridCellValidatingEventArgs
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCellValidatingEventArgs : EventArgs
Constructors
DataGridCellValidatingEventArgs(Object)
Initializes a new instance of DataGridCellValidatingEventArgs class.
Declaration
public DataGridCellValidatingEventArgs(object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Object | originalSource | The source of the event. |
Properties
Column
Gets or sets the column of the cell.
Declaration
public DataGridColumn Column { get; }
Property Value
Type | Description |
---|---|
DataGridColumn | Returns the column of the cell. |
ErrorMessage
Gets or sets the error message.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String | Returns the error message. |
IsValid
Gets or sets a value that indicates whether the validation is successful or not.
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Returns true if the validation is successful; otherwise, false. |
NewValue
Gets or sets the new value of the cell.
Declaration
public object NewValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Returns the new value of the cell. |
OldValue
Gets or sets the old value of the cell.
Declaration
public object OldValue { get; }
Property Value
Type | Description |
---|---|
System.Object | Returns the old value of the cell. |
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. |