InkToolbar.IsStencilButtonCheckedChanged 事件

定义

InkToolbaStencilButton 的切换状态更改时发生。

// Register
event_token IsStencilButtonCheckedChanged(TypedEventHandler<InkToolbar, InkToolbarIsStencilButtonCheckedChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void IsStencilButtonCheckedChanged(event_token const* cookie) const;

// Revoke with event_revoker
InkToolbar::IsStencilButtonCheckedChanged_revoker IsStencilButtonCheckedChanged(auto_revoke_t, TypedEventHandler<InkToolbar, InkToolbarIsStencilButtonCheckedChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<InkToolbar,InkToolbarIsStencilButtonCheckedChangedEventArgs> IsStencilButtonCheckedChanged;
function onIsStencilButtonCheckedChanged(eventArgs) { /* Your code */ }
inkToolbar.addEventListener("isstencilbuttoncheckedchanged", onIsStencilButtonCheckedChanged);
inkToolbar.removeEventListener("isstencilbuttoncheckedchanged", onIsStencilButtonCheckedChanged);
- or -
inkToolbar.onisstencilbuttoncheckedchanged = onIsStencilButtonCheckedChanged;
Public Custom Event IsStencilButtonCheckedChanged As TypedEventHandler(Of InkToolbar, InkToolbarIsStencilButtonCheckedChangedEventArgs) 

事件类型

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于

另请参阅