Dela via


InkToolbar.IsRulerButtonCheckedChanged Event

Definition

Occurs when the toggled state of the InkToolbarRulerButton changes.

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

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

// Revoke with event_revoker
InkToolbar::IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
// Register
event_token IsRulerButtonCheckedChanged(TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
InkToolbar::IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
public event TypedEventHandler<InkToolbar,object> IsRulerButtonCheckedChanged;
[add: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<InkToolbar,object> IsRulerButtonCheckedChanged;
function onIsRulerButtonCheckedChanged(eventArgs) { /* Your code */ }
inkToolbar.addEventListener("isrulerbuttoncheckedchanged", onIsRulerButtonCheckedChanged);
inkToolbar.removeEventListener("isrulerbuttoncheckedchanged", onIsRulerButtonCheckedChanged);
- or -
inkToolbar.onisrulerbuttoncheckedchanged = onIsRulerButtonCheckedChanged;
Public Custom Event IsRulerButtonCheckedChanged As TypedEventHandler(Of InkToolbar, Object) 

Event Type

Attributes

Applies to

See also