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

◆ on_value_changed()

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

Raises the scroll_bar::value_changed event.

Parameters
eThe event_args that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.
The xtd::forms::scroll_bar::on_value_changed 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_value_changed in a derived class, be sure to call the base class' xtd::forms::scroll_bar::on_value_changed method so that registered delegates receive the event.