Wimark.Controls Class Library  

DataGridView.CellBeginEdit Event

Occurs when edit mode starts for the selected cell.

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

Event Data

The event handler receives an argument of type DataGridViewCellCancelEventArgs containing data related to this event. The following DataGridViewCellCancelEventArgs property provides information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
ColumnIndex Gets the column index of the cell that raised the event.
RowIndex Gets the row index of the cell that raised 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