KeyEventArgs.Handled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the key press event was handled.
public:
property bool Handled { bool get(); void set(bool value); };
bool Handled();
void Handled(bool value);
public bool Handled { get; set; }
var boolean = keyEventArgs.handled;
keyEventArgs.handled = boolean;
Public Property Handled As Boolean
Property Value
bool
True if the key press event has been handled by the appropriate delegate; false if it has not.
Implements
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.