Determines whether the specified key is down.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.1.0.0 (1.1.1.9391)

Syntax

C#
bool IsDown(
	Keys key
)
Visual Basic
Function IsDown ( _
	key As Keys _
) As Boolean
Visual C++
bool IsDown(
	Keys key
)

Parameters

key
Type: Keys
The key.

Return Value

trueTruetruetrue (True in Visual Basic) if the specified key is down; otherwise, falseFalsefalsefalse (False in Visual Basic).

See Also