CVB.Net 15.0
DisableableMouseWheelScrollViewer Class Reference

A scroll viewer on which mouse wheel handling can be disabled. More...

Inherits ScrollViewer.

Static Public Attributes

static readonly DependencyProperty IsMouseWheelEnabledProperty
 Backing store for IsMouseWheelEnabled property.
 

Protected Member Functions

override void OnMouseWheel (MouseWheelEventArgs e)
 Overridden mouse wheel handling. More...
 

Properties

bool IsMouseWheelEnabled [get, set]
 Gets/sets whether the mouse wheel handling of the scroll viewer is enabled or not. More...
 

Detailed Description

A scroll viewer on which mouse wheel handling can be disabled.

Member Function Documentation

◆ OnMouseWheel()

override void OnMouseWheel ( MouseWheelEventArgs  e)
protected

Overridden mouse wheel handling.

Parameters
eMouse wheel arguments.

Property Documentation

◆ IsMouseWheelEnabled

bool IsMouseWheelEnabled
getset

Gets/sets whether the mouse wheel handling of the scroll viewer is enabled or not.

If this property is false you can handle the mouse wheel event in encapsulating/parent controls.