Dela via


SystemFunctionButtonEventArgs.Handled Property

Definition

Gets or sets a value that marks the SystemFunctionButtonPressed and SystemFunctionButtonReleased events as handled.

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

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

Property Value

Boolean

bool

If false (default), the event bubbles up to the next event handler. Otherwise, the event does not bubble up to the next event handler.

Remarks

This API is intended for use by Accessibility tools as a low level hook for intercepting events from hardware system buttons.

SystemButtonEventController event registration applies system wide and is first-come, first-served. If an application or service sets a SystemButtonEventController event Handled property to true, applications or services that registered after that app or service for the same event notification will not receive the notification.

Applies to

See also