PenButtonListener.IsSupportedChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当笔按钮事件的可用性更改 (笔设置由用户或系统支持更改) 更改时发生。
// Register
event_token IsSupportedChanged(TypedEventHandler<PenButtonListener, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsSupportedChanged(event_token const* cookie) const;
// Revoke with event_revoker
PenButtonListener::IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, TypedEventHandler<PenButtonListener, IInspectable const&> const& handler) const;
public event TypedEventHandler<PenButtonListener,object> IsSupportedChanged;
function onIsSupportedChanged(eventArgs) { /* Your code */ }
penButtonListener.addEventListener("issupportedchanged", onIsSupportedChanged);
penButtonListener.removeEventListener("issupportedchanged", onIsSupportedChanged);
- or -
penButtonListener.onissupportedchanged = onIsSupportedChanged;
Public Custom Event IsSupportedChanged As TypedEventHandler(Of PenButtonListener, Object)
事件类型
TypedEventHandler<PenButtonListener,IInspectable>