Dela via


InkToolbar.IsStencilButtonCheckedChanged Event

Definition

Occurs when the toggled state of the InkToolbaStencilButton changes.

// 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) 

Event Type

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

See also