Android.Views.KeyEvent.HasNoModifiers Property
Returns true if no modifier keys are pressed.

Syntax

[get: Android.Runtime.Register("hasNoModifiers", "()Z", "GetHasNoModifiersHandler")]
public bool HasNoModifiers { get; }

See Also

KeyEvent.MetaStateHasNoModifiers(MetaKeyStates)

Value

Documentation for this section has not yet been entered.

Remarks

Returns true if no modifier keys are pressed.

For the purposes of this function, KeyEvent.KEYCODE_CAPS_LOCK, KeyEvent.KEYCODE_SCROLL_LOCK, and KeyEvent.KEYCODE_NUM_LOCK are not considered modifier keys. Consequently, this function ignores KeyEvent.META_CAPS_LOCK_ON, KeyEvent.META_SCROLL_LOCK_ON and KeyEvent.META_NUM_LOCK_ON.

The meta state is normalized prior to comparison using KeyEvent.NormalizeMetaState(MetaKeyStates).

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11