AnnotatedScrollBar.DetailLabelRequested 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当需要工具提示的内容时, 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
箭头按钮) 。