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

Behavior<T> that enables the mouse wheel to change the value of NumericUpDown controls. More...

Inheritance diagram for VolumeControl.WPF.Behaviors.MouseWheelNumericUpDownBehavior:
Collaboration diagram for VolumeControl.WPF.Behaviors.MouseWheelNumericUpDownBehavior:

Static Public Attributes

static readonly DependencyProperty AmountProperty
 The amount to change the slider value by. More...
 

Protected Member Functions

override void OnAttached ()
 
override void OnDetaching ()
 

Properties

decimal Amount [get, set]
 Gets or sets the amount to change the slider value by. More...
 

Detailed Description

Behavior<T> that enables the mouse wheel to change the value of NumericUpDown controls.

Member Data Documentation

◆ AmountProperty

readonly DependencyProperty VolumeControl.WPF.Behaviors.MouseWheelNumericUpDownBehavior.AmountProperty
static
Initial value:
= DependencyProperty.RegisterAttached(
nameof(Amount),
typeof(decimal),
typeof(MouseWheelNumericUpDownBehavior),
new UIPropertyMetadata(1m))
decimal Amount
Gets or sets the amount to change the slider value by.
Definition: MouseWheelNumericUpDownBehavior.cs:27

The amount to change the slider value by.

Property Documentation

◆ Amount

decimal VolumeControl.WPF.Behaviors.MouseWheelNumericUpDownBehavior.Amount
getset

Gets or sets the amount to change the slider value by.


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