Jaa


InkToolbar.ActiveToolChanged Event

Definition

Occurs when the currently selected feature in the RadioButton group of the InkToolbar is changed. This event provides access to the following objects:

Features in this group are mutually exclusive: selecting a feature deselects the currently active feature.

Note

InkToolbarRulerButton and InkToolbarCustomToggleButton objects work in conjunction with the active feature and are not exposed to the ActiveToolChanged event.

// Register
event_token ActiveToolChanged(TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
InkToolbar::ActiveToolChanged_revoker ActiveToolChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
public event TypedEventHandler<InkToolbar,object> ActiveToolChanged;
function onActiveToolChanged(eventArgs) { /* Your code */ }
inkToolbar.addEventListener("activetoolchanged", onActiveToolChanged);
inkToolbar.removeEventListener("activetoolchanged", onActiveToolChanged);
- or -
inkToolbar.onactivetoolchanged = onActiveToolChanged;
Public Custom Event ActiveToolChanged As TypedEventHandler(Of InkToolbar, Object) 

Event Type

Applies to

See also