DataGridViewCell.KeyEntersEditMode(KeyEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if edit mode should be started based on the given key.
public:
virtual bool KeyEntersEditMode(System::Windows::Forms::KeyEventArgs ^ e);
public virtual bool KeyEntersEditMode (System.Windows.Forms.KeyEventArgs e);
abstract member KeyEntersEditMode : System.Windows.Forms.KeyEventArgs -> bool
override this.KeyEntersEditMode : System.Windows.Forms.KeyEventArgs -> bool
Public Overridable Function KeyEntersEditMode (e As KeyEventArgs) As Boolean
Parameters
A KeyEventArgs that represents the key that was pressed.
Returns
true
if edit mode should be started; otherwise, false
. The default is false
.
Remarks
Override this method to create a custom cell that is editable.
Applies to
See also
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.