SliderHelper Class
Namespace
MahApps.Metro.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["SliderHelper"] class Type type-node

Syntax

public class SliderHelper

Fields

Name Field Type Constant Value Summary
ChangeValueByProperty DependencyProperty
static
EnableMouseWheelProperty DependencyProperty
static
ThumbFillBrushProperty DependencyProperty
Gets or sets the brush of the thumb.
static
ThumbFillDisabledBrushProperty DependencyProperty
Gets or sets the brush of the thumb if the slider is disabled.
static
ThumbFillHoverBrushProperty DependencyProperty
Gets or sets the brush of the thumb if the mouse is over the slider.
static
ThumbFillPressedBrushProperty DependencyProperty
Gets or sets the brush of the thumb if the mouse button is pressed.
static
TrackFillBrushProperty DependencyProperty
Gets or sets the brush of the track.
static
TrackFillDisabledBrushProperty DependencyProperty
Gets or sets the brush of the track if the slider is disabled.
static
TrackFillHoverBrushProperty DependencyProperty
Gets or sets the brush of the track if the mouse is over the slider.
static
TrackFillPressedBrushProperty DependencyProperty
Gets or sets the brush of the track if the mouse button is pressed.
static
TrackValueFillBrushProperty DependencyProperty
Gets or sets the brush of the track value.
static
TrackValueFillDisabledBrushProperty DependencyProperty
Gets or sets the brush of the track value if the slider is disabled.
static
TrackValueFillHoverBrushProperty DependencyProperty
Gets or sets the brush of the track value if the mouse is over the slider.
static
TrackValueFillPressedBrushProperty DependencyProperty
Gets or sets the brush of the track value if the mouse button is pressed.
static

Methods

Name Return Value Summary
GetChangeValueBy(UIElement) MouseWheelChange
Gets/Sets the type how the value will be changed if the user rotates the mouse wheel.
static
GetEnableMouseWheel(UIElement) MouseWheelState
Gets/Sets the value when the slider will be changed. Possible values are if the slider is focused or if the mouse is over the slider.
static
GetThumbFillBrush(UIElement) Brush
Gets the brush of the thumb.
static
GetThumbFillDisabledBrush(UIElement) Brush
Gets the brush of the thumb if the slider is disabled.
static
GetThumbFillHoverBrush(UIElement) Brush
Gets the brush of the thumb if the mouse is over the slider.
static
GetThumbFillPressedBrush(UIElement) Brush
Gets the brush of the thumb if the mouse button is pressed.
static
GetTrackFillBrush(UIElement) Brush
Gets the brush of the track.
static
GetTrackFillDisabledBrush(UIElement) Brush
Gets the brush of the track if the slider is disabled.
static
GetTrackFillHoverBrush(UIElement) Brush
Gets the brush of the track if the mouse is over the slider.
static
GetTrackFillPressedBrush(UIElement) Brush
Gets the brush of the track if the mouse button is pressed.
static
GetTrackValueFillBrush(UIElement) Brush
Gets the brush of the track value.
static
GetTrackValueFillDisabledBrush(UIElement) Brush
Gets the brush of the track value if the slider is disabled.
static
GetTrackValueFillHoverBrush(UIElement) Brush
Gets the brush of the track value if the mouse is over the slider.
static
GetTrackValueFillPressedBrush(UIElement) Brush
Gets the brush of the track value if the mouse button is pressed.
static
SetChangeValueBy(UIElement, MouseWheelChange) void
Gets/Sets the type how the value will be changed if the user rotates the mouse wheel.
static
SetEnableMouseWheel(UIElement, MouseWheelState) void
Gets/Sets the value when the slider will be changed. Possible values are if the slider is focused or if the mouse is over the slider.
static
SetThumbFillBrush(UIElement, Brush) void
Sets the brush of the thumb.
static
SetThumbFillDisabledBrush(UIElement, Brush) void
Sets the brush of the thumb if the slider is disabled.
static
SetThumbFillHoverBrush(UIElement, Brush) void
Sets the brush of the thumb if the mouse is over the slider.
static
SetThumbFillPressedBrush(UIElement, Brush) void
Sets the brush of the thumb if the mouse button is pressed.
static
SetTrackFillBrush(UIElement, Brush) void
Sets the brush of the track.
static
SetTrackFillDisabledBrush(UIElement, Brush) void
Sets the brush of the track if the slider is disabled.
static
SetTrackFillHoverBrush(UIElement, Brush) void
Sets the brush of the track if the mouse is over the slider.
static
SetTrackFillPressedBrush(UIElement, Brush) void
Sets the brush of the track if the mouse button is pressed.
static
SetTrackValueFillBrush(UIElement, Brush) void
Sets the brush of the track value.
static
SetTrackValueFillDisabledBrush(UIElement, Brush) void
Sets the brush of the track value if the slider is disabled.
static
SetTrackValueFillHoverBrush(UIElement, Brush) void
Sets the brush of the track value if the mouse is over the slider.
static
SetTrackValueFillPressedBrush(UIElement, Brush) void
Sets the brush of the track value if the mouse button is pressed.
static