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 Constant Value Summary
ChangeValueByProperty
static
EnableMouseWheelProperty
static
ThumbFillBrushProperty
Gets or sets the brush of the thumb.
static
ThumbFillDisabledBrushProperty
Gets or sets the brush of the thumb if the slider is disabled.
static
ThumbFillHoverBrushProperty
Gets or sets the brush of the thumb if the mouse is over the slider.
static
ThumbFillPressedBrushProperty
Gets or sets the brush of the thumb if the mouse button is pressed.
static
TrackFillBrushProperty
Gets or sets the brush of the track.
static
TrackFillDisabledBrushProperty
Gets or sets the brush of the track if the slider is disabled.
static
TrackFillHoverBrushProperty
Gets or sets the brush of the track if the mouse is over the slider.
static
TrackFillPressedBrushProperty
Gets or sets the brush of the track if the mouse button is pressed.
static
TrackValueFillBrushProperty
Gets or sets the brush of the track value.
static
TrackValueFillDisabledBrushProperty
Gets or sets the brush of the track value if the slider is disabled.
static
TrackValueFillHoverBrushProperty
Gets or sets the brush of the track value if the mouse is over the slider.
static
TrackValueFillPressedBrushProperty
Gets or sets the brush of the track value if the mouse button is pressed.
static

Methods

Name 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