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 箭头按钮) 。

适用于