Class Slider
Implements Slider control with thumb
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Slider : RangeBase
Constructors
Slider()
Initializes a new instance of the Slider class.
Declaration
public Slider()
Fields
IsSnapToTickEnabledProperty
The is snap to tick enabled property
Declaration
public static readonly DependencyProperty IsSnapToTickEnabledProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OrientationProperty
The orientation property
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TickFrequencyProperty
The tick frequency property
Declaration
public static readonly DependencyProperty TickFrequencyProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
IsSnapToTickEnabled
Gets or sets a value indicating whether this instance is snap to tick enabled.
Declaration
public bool IsSnapToTickEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
TickFrequency
Gets or sets the tick frequency.
Declaration
public float TickFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The tick frequency. |
Track
Gets the track.
Declaration
public Track Track { get; }
Property Value
Type | Description |
---|---|
Track | The track. |
Methods
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
OnPreviewGamepadMove(Object, GamepadMoveEventArgs)
Called when [preview game pad move].
Declaration
protected override void OnPreviewGamepadMove(object sender, GamepadMoveEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
GamepadMoveEventArgs | e | The GamepadMoveEventArgs instance containing the event data. |
Overrides
OnPreviewMouseDown(Object, MouseButtonEventArgs)
Called when [preview mouse down].
Declaration
protected override void OnPreviewMouseDown(object sender, MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnPreviewTouchDown(TouchEventArgs)
Raises the TouchDown event.
Declaration
protected override void OnPreviewTouchDown(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchEventArgs | e | The TouchEventArgs instance containing the event data. |