Occurs when a row is validating.
[Visual Basic] Public Event RowValidating As DataGridViewIndexCancelEventHandler [C#] public event DataGridViewIndexCancelEventHandler RowValidating; [C++] public: __event DataGridViewIndexCancelEventHandler* RowValidating;
The event handler receives an argument of type DataGridViewIndexCancelEventArgs containing data related to this event. The following DataGridViewIndexCancelEventArgs property provides information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. |
Index | Gets the zero-based index of the row or column associated with the event. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
DataGridView Class | DataGridView Members | Wimark.Controls Namespace