Modifier

Partager via


DataGridView.ProcessAKey(Keys) Method

Definition

Processes the A key.

protected:
 bool ProcessAKey(System::Windows::Forms::Keys keyData);
protected bool ProcessAKey (System.Windows.Forms.Keys keyData);
member this.ProcessAKey : System.Windows.Forms.Keys -> bool
Protected Function ProcessAKey (keyData As Keys) As Boolean

Parameters

keyData
Keys

A bitwise combination of Keys values that represents the key or keys to process.

Returns

true if the key was processed; otherwise, false.

Remarks

This method returns true when the user presses CTRL+A and the MultiSelect property is true. By default, this selects all cells in the control.

Applies to

See also