DataGridView.ProcessAKey Method

Processes the A key.

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

protected bool ProcessAKey (
	Keys keyData
protected boolean ProcessAKey (
	Keys keyData
protected function ProcessAKey (
	keyData : Keys
) : boolean
Not applicable.



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

Return Value

true if the key was processed; otherwise, false.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0