DataGridViewCell::KeyEntersEditMode Method (KeyEventArgs^)

 

Determines if edit mode should be started based on the given key.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual bool KeyEntersEditMode(
	KeyEventArgs^ e
)

Parameters

e
Type: System.Windows.Forms::KeyEventArgs^

A KeyEventArgs that represents the key that was pressed.

Return Value

Type: System::Boolean

true if edit mode should be started; otherwise, false. The default is false.

Override this method to create a custom cell that is editable.

.NET Framework
Available since 2.0
Return to top
Show: