Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.HorizontalScroll Class Reference

WPF attached event for receiving horizontal scroll events sent by tiltable mouse wheels. More...

Collaboration diagram for VolumeControl.WPF.HorizontalScroll:

Static Public Member Functions

static void AddPreviewMouseWheelHorizontalHandler (DependencyObject d, MouseWheelHorizontalEventHandler handler)
 Adds the specified handler to the PreviewMouseWheelHorizontalEvent. More...
 
static void RemovePreviewMouseWheelHorizontalHandler (DependencyObject d, MouseWheelHorizontalEventHandler handler)
 Removes the specified handler from the PreviewMouseWheelHorizontalEvent. More...
 
static void AddMouseWheelHorizontalHandler (DependencyObject d, MouseWheelHorizontalEventHandler handler)
 Adds the specified handler to the MouseWheelHorizontalEvent. More...
 
static void RemoveMouseWheelHorizontalHandler (DependencyObject d, MouseWheelHorizontalEventHandler handler)
 Removes the specified handler from the MouseWheelHorizontalEvent. More...
 

Static Public Attributes

static readonly RoutedEvent PreviewMouseWheelHorizontalEvent
 Occurs when the user tilts the mouse wheel while the mouse pointer is over this element. More...
 
static readonly RoutedEvent MouseWheelHorizontalEvent
 Occurs when the user tilts the mouse wheel while the mouse pointer is over this element. More...
 

Detailed Description

WPF attached event for receiving horizontal scroll events sent by tiltable mouse wheels.

Member Function Documentation

◆ AddMouseWheelHorizontalHandler()

static void VolumeControl.WPF.HorizontalScroll.AddMouseWheelHorizontalHandler ( DependencyObject  d,
MouseWheelHorizontalEventHandler  handler 
)
static

◆ AddPreviewMouseWheelHorizontalHandler()

static void VolumeControl.WPF.HorizontalScroll.AddPreviewMouseWheelHorizontalHandler ( DependencyObject  d,
MouseWheelHorizontalEventHandler  handler 
)
static

Adds the specified handler to the PreviewMouseWheelHorizontalEvent.

References VolumeControl.WPF.HorizontalScroll.PreviewMouseWheelHorizontalEvent.

Referenced by VolumeControl.WPF.Behaviors.ScrollViewerHorizontalScrollBehavior.OnAttached(), and VolumeControl.WPF.Behaviors.TextBoxHorizontalScrollBehavior.OnAttached().

Here is the caller graph for this function:

◆ RemoveMouseWheelHorizontalHandler()

static void VolumeControl.WPF.HorizontalScroll.RemoveMouseWheelHorizontalHandler ( DependencyObject  d,
MouseWheelHorizontalEventHandler  handler 
)
static

Removes the specified handler from the MouseWheelHorizontalEvent.

◆ RemovePreviewMouseWheelHorizontalHandler()

static void VolumeControl.WPF.HorizontalScroll.RemovePreviewMouseWheelHorizontalHandler ( DependencyObject  d,
MouseWheelHorizontalEventHandler  handler 
)
static

Removes the specified handler from the PreviewMouseWheelHorizontalEvent.

Referenced by VolumeControl.WPF.Behaviors.ScrollViewerHorizontalScrollBehavior.OnDetaching(), and VolumeControl.WPF.Behaviors.TextBoxHorizontalScrollBehavior.OnDetaching().

Here is the caller graph for this function:

Member Data Documentation

◆ MouseWheelHorizontalEvent

readonly RoutedEvent VolumeControl.WPF.HorizontalScroll.MouseWheelHorizontalEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"MouseWheelHorizontal",
RoutingStrategy.Bubble,
typeof(WpfTiltScrollHook))
delegate void MouseWheelHorizontalEventHandler(object sender, MouseWheelHorizontalEventArgs e)
Event handler type for the MouseWheelHorizontal & PreviewMouseWheelHorizontal events.

Occurs when the user tilts the mouse wheel while the mouse pointer is over this element.

Referenced by VolumeControl.WPF.HorizontalScroll.AddMouseWheelHorizontalHandler().

◆ PreviewMouseWheelHorizontalEvent

readonly RoutedEvent VolumeControl.WPF.HorizontalScroll.PreviewMouseWheelHorizontalEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"PreviewMouseWheelHorizontal",
RoutingStrategy.Tunnel,
typeof(WpfTiltScrollHook))

Occurs when the user tilts the mouse wheel while the mouse pointer is over this element.

Referenced by VolumeControl.WPF.HorizontalScroll.AddPreviewMouseWheelHorizontalHandler().


The documentation for this class was generated from the following file: