Class CurrentCellValidatingEventArgs
Represents a class which holds the properties of CurrentCell Validating event.
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.Helpers
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class CurrentCellValidatingEventArgs : GridCancelEventArgs
Constructors
CurrentCellValidatingEventArgs()
Initializes a new instance of the CurrentCellValidatingEventArgs class.
Declaration
public CurrentCellValidatingEventArgs()
Properties
IsValid
IsValid property used to maintain the currentcell and need to perform whether canceledit or endedit. cancel and isvalid properties are working on four differnt cases. 1.If Cancel=True and IsValid=False then currentcell remains in edit mode. 2.If Cancel=True and IsValid=True then canceledit and currentcell remains in edit mode. 3.If Cancel=False and IsValid=False then canceledit and currentcell moved to next cell. 4.If Cancel=False and IsValid=True then endedit and currentcell moved to next cell.(Default)
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True or False. |
NewValue
Gets the new value of the CurrentCell.
Declaration
public object NewValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Value of the cell. |
OldValue
Gets the old value of the CurrentCell.
Declaration
public object OldValue { get; }
Property Value
Type | Description |
---|---|
System.Object | Value of the cell. |
RowcolumnIndex
Gets the value of RowColumnIndex .
Declaration
public RowColumnIndex RowcolumnIndex { get; }
Property Value
Type | Description |
---|---|
RowColumnIndex | An instance of RowColumnIndex. |