| ValidateCellEventArgs Class |
Inheritance Hierarchy
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public class ValidateCellEventArgs : CellEventArgs
Public Class ValidateCellEventArgs
Inherits CellEventArgs
public ref class ValidateCellEventArgs : public CellEventArgs
The ValidateCellEventArgs type exposes the following members.
Constructors Properties
| Name | Description |
---|
| Col |
Gets or sets the column index of the cell.
(Inherited from CellEventArgs.) |
| IsValid |
Gets or sets whether the data in the cell is valid.
|
| Row |
Gets or sets the row index of the cell.
(Inherited from CellEventArgs.) |
TopRemarks
These event arguments are supplied to any overridden
ValidateCell event handler, as well as to any delegates
attached to the
ValidateCell event.
The
ValidateCell event is invoked
when the grid checks for valid data in the specified cell.
This occurs just before the contents of a cell are transferred.
You cannot use
GetValueRowCol(UInt32, UInt32) to determine
the value of the current cell,
and you cannot use
SetValueRange to change the value of the current cell.
This is because the cell value has not been transferred to the grid by
the time the event is invoked.
GetValueRowCol(UInt32, UInt32)
would then return the value that was present before the cell was changed.
See Also