KeyEventArgs.Handled KeyEventArgs.Handled KeyEventArgs.Handled KeyEventArgs.Handled Property

Definition

Gets or sets whether the key press event was handled.

public : Platform::Boolean Handled { get; set; }
bool Handled();

void Handled(bool handled);
public bool Handled { get; set; }
Public ReadWrite Property Handled As bool

Property Value

bool bool

True if the key press event has been handled by the appropriate delegate; false if it has not.

Remarks

Windows 10 Apps do not receive this event when an Input Method Editor (IME) is enabled. The Input Method Editor (IME) handles all keyboard input and sets Handled to true.

Windows Phone This API is supported in native apps only.

See also