Click or drag to resize

KeyEventArgsIsKeyDown Method

Determines whether the specified key and modifier was pressed

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public bool IsKeyDown(
	Keys key,
	Nullable<Keys> modifier = null
)

Parameters

key
Type: Eto.FormsKeys
Key to test if it was pressed
modifier (Optional)
Type: SystemNullableKeys
Modifier of the key, or null to allow any modifiers

Return Value

Type: Boolean
true the key with modifier was pressed; otherwise, false.
See Also