Share via


PenButtonListener.IsSupportedChanged Event

Definition

Occurs when the availability of pen button events changes (pen settings are changed by the user or system support changes).

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

Event Type

Applies to