DataGridView.ProcessSpaceKey Method (Keys)

 

Processes the SPACEBAR.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected bool ProcessSpaceKey(
	Keys keyData
)

Parameters

keyData
Type: System.Windows.Forms.Keys

One of the Keys values that represents the key to process.

Return Value

Type: System.Boolean

true if the key was processed; otherwise, false.

SecurityPermission

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

.NET Framework
Available since 2.0
Return to top
Show: