DataGridView.ProcessAKey(Keys) DataGridView.ProcessAKey(Keys) DataGridView.ProcessAKey(Keys) 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 Keys Keys 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.

Security

SecurityPermission
for calling unmanaged code. Demand value: LinkDemand. Permission value: UnmanagedCode

Applies to

See also