SystemFunctionLockIndicatorChangedEventArgs.Handled 属性

定义

获取或设置一个值,该值将 SystemFunctionLockIndicatorChanged 事件标记为已处理。

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

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

属性值

Boolean

bool

如果 false (默认) ,则事件将浮升到下一个事件处理程序。 否则,该事件不会浮升到下一个事件处理程序。

注解

此 API 旨在供辅助工具用作从硬件系统按钮截获事件的低级别挂钩。

SystemButtonEventController 事件注册在系统范围内应用,先到先得。 如果应用程序或服务将 SystemButtonEventController 事件 Handled 属性设置为 true,则在该应用或服务之后为同一事件通知注册的应用程序或服务将不会收到通知。

适用于

另请参阅