ScrollBar.Scroll Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual event ScrollEventHandler ^ Scroll;
// Register
event_token Scroll(ScrollEventHandler const& handler) const;
// Revoke with event_token
void Scroll(event_token const* cookie) const;
// Revoke with event_revoker
ScrollBar::Scroll_revoker Scroll(auto_revoke_t, ScrollEventHandler const& handler) const;
public event ScrollEventHandler Scroll;
function onScroll(eventArgs) { /* Your code */ }
scrollBar.addEventListener("scroll", onScroll);
scrollBar.removeEventListener("scroll", onScroll);
- or -
scrollBar.onscroll = onScroll;
Public Custom Event Scroll As ScrollEventHandler
<ScrollBar Scroll="eventhandler"/>