Wimark.Controls Class Library  

DataGridView.UserDeletingRow Event

Occurs when the user deletes a row from the DataGridView control.

[Visual Basic]
Public Event UserDeletingRow As DataGridViewIndexCancelEventHandler 
[C#]
public event DataGridViewIndexCancelEventHandler UserDeletingRow;
[C++]
public: __event DataGridViewIndexCancelEventHandler* UserDeletingRow;

Event Data

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

DataGridView Class | DataGridView Members | Wimark.Controls Namespace