AccessKeyManager.IsDisplayModeEnabledChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当应用进入或退出访问键序列时发生。
// Register
static event_token IsDisplayModeEnabledChanged(TypedEventHandler<IInspectable, IInspectable const&> const& handler) const;
// Revoke with event_token
static void IsDisplayModeEnabledChanged(event_token const* cookie) const;
// Revoke with event_revoker
static AccessKeyManager::IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, TypedEventHandler<IInspectable, IInspectable const&> const& handler) const;
public static event TypedEventHandler<object,object> IsDisplayModeEnabledChanged;
function onIsDisplayModeEnabledChanged(eventArgs) { /* Your code */ }
Windows.UI.Xaml.Input.AccessKeyManager.addEventListener("isdisplaymodeenabledchanged", onIsDisplayModeEnabledChanged);
Windows.UI.Xaml.Input.AccessKeyManager.removeEventListener("isdisplaymodeenabledchanged", onIsDisplayModeEnabledChanged);
- or -
Windows.UI.Xaml.Input.AccessKeyManager.onisdisplaymodeenabledchanged = onIsDisplayModeEnabledChanged;
Public Shared Custom Event IsDisplayModeEnabledChanged As TypedEventHandler(Of Object, Object)
事件类型
TypedEventHandler<IInspectable,IInspectable>