InkToolbar.IsRulerButtonCheckedChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于 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)
事件類型
TypedEventHandler<InkToolbar,IInspectable>
- 屬性