共用方式為


AnnotatedScrollBar.DetailLabelRequested 事件

定義

需要工具提示的內容時, AnnotatedScrollBar 於使用者與追蹤互動時引發。

// Register
event_token DetailLabelRequested(TypedEventHandler<AnnotatedScrollBar, AnnotatedScrollBarDetailLabelRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AnnotatedScrollBar::DetailLabelRequested_revoker DetailLabelRequested(auto_revoke_t, TypedEventHandler<AnnotatedScrollBar, AnnotatedScrollBarDetailLabelRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<AnnotatedScrollBar,AnnotatedScrollBarDetailLabelRequestedEventArgs> DetailLabelRequested;
function onDetailLabelRequested(eventArgs) { /* Your code */ }
annotatedScrollBar.addEventListener("detaillabelrequested", onDetailLabelRequested);
annotatedScrollBar.removeEventListener("detaillabelrequested", onDetailLabelRequested);
- or -
annotatedScrollBar.ondetaillabelrequested = onDetailLabelRequested;
Public Custom Event DetailLabelRequested As TypedEventHandler(Of AnnotatedScrollBar, AnnotatedScrollBarDetailLabelRequestedEventArgs) 

事件類型

備註

引發此事件的用戶互動包括滑鼠暫留、滑鼠按兩下、點選和捲動 (透過可捲動的容器或 AnnotatedScrollBar 箭號按鈕) 。

適用於