共用方式為


InkToolbar.IsRulerButtonCheckedChanged 事件

定義

發生于 InkToolbarRulerButton 切換狀態變更時。

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

事件類型

屬性

適用於

另請參閱