KeyboardDeliveryInterceptor.IsInterceptionEnabledWhenInForeground Property


Gets or sets whether the app overrides the system processing of raw keyboard input, including key combinations such as shortcut keys, access keys (or hot keys), accelerator keys, and application keys.

The raw keyboard input is intercepted, suppressed, and routed to the app (when in the foreground) for processing.


Secure attention sequence (SAS) key combinations, including Ctrl-Alt-Del and Windows-L, continue to be processed by the system.

 property bool IsInterceptionEnabledWhenInForeground { bool get(); void set(bool value); };
bool IsInterceptionEnabledWhenInForeground();

void IsInterceptionEnabledWhenInForeground(bool value);
public bool IsInterceptionEnabledWhenInForeground { get; set; }
var boolean = keyboardDeliveryInterceptor.isInterceptionEnabledWhenInForeground;
keyboardDeliveryInterceptor.isInterceptionEnabledWhenInForeground = boolean;
Public Property IsInterceptionEnabledWhenInForeground As Boolean

Property Value


True if the app processes raw keyboard input instead of the system. Otherwise, false.

Windows 10 requirements

App capabilities

Applies to