xtd 0.2.0
Loading...
Searching...
No Matches

◆ on_scroll()

virtual void xtd::forms::scroll_bar::on_scroll ( const event_args e)
protectedvirtual

Raises the xtd::forms::scroll_bar::scroll event.

Parameters
eAn event_args that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.
The xtd::forms::scroll_bar::on_scroll method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors
When overriding xtd::forms::scroll_bar::on_scroll in a derived class, be sure to call the base class' xtd::forms::scroll_bar::on_scroll method so that registered delegates receive the event.