Dela via


KeyboardDeliveryInterceptor.IsInterceptionEnabledWhenInForeground Property

Definition

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.

Note

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

public:
 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

Boolean

bool

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

Windows requirements

App capabilities
inputForegroundObservation

Applies to