Delen via


AcceleratorKeyEventArgs.Handled Property

Definition

Gets or sets whether the accelerator key event was handled or not.

public:
 property bool Handled { bool get(); void set(bool value); };
bool Handled();

void Handled(bool value);
public bool Handled { get; set; }
var boolean = acceleratorKeyEventArgs.handled;
acceleratorKeyEventArgs.handled = boolean;
Public Property Handled As Boolean

Property Value

Boolean

bool

True if the accelerator key event has been handled; 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.

Applies to

See also