The SliderBase type exposes the following members.

Constructors

  NameDescription
SliderBase

Methods

  NameDescription
GetClosestTickMark
Gets the closest tick mark to the given value.
GetNextTickMark
Gets the closest tick mark at or above the given value.
GetPreviousTickMark
Gets the closest tick mark at or below the given value.
OnMaximumChanged
Called when the Maximum property changes.
OnMinimumChanged
Called when the Minimum property changes.
OnOrientationChanged
Called when the Orientation of this slider has changed.
OnPropertyChanged
Raises the PropertyChanged event.
OnSnapToTickMarksChanged
Called when the SnapToTickMarks property changes.
OnTickSpacingChanged
Called when the TickSpacing property changes.

Fields

  NameDescription
IsInstantMoveEnabledProperty
Identifies the IsInstantMoveEnabled property.
IsMouseWheelEnabledProperty
Identifies the IsMouseWheelEnabled property.
LargeChangeProperty
Identifies the LargeChange property.
MaximumProperty
Identifies the Maximum property. The default is 1.
MinimumProperty
Identifies the Minimum property.
OrientationProperty
Identifies the Orientation property.
ShowBottomRightTickMarksProperty
Identifies the ShowBottomRightTickMarks property.
ShowTopLeftTickMarksProperty
Identifies the ShowTopLeftTickMarks property.
SmallChangeProperty
Identifies the SmallChange property.
SnapToTickMarksProperty
Identifies the SnapToTickMarks property.
TickSpacingProperty
Identifies the TickSpacing property.

Properties

  NameDescription
ExtraSpacing
When overridden in a derived class, gets the extra spacing allocated around the slider track. This is used in tick mark layout calculations.
IsInstantMoveEnabled
Gets or sets whether, when the user clicks on the track, the slider value should jump immediately to the clicked value. The default is false, meaning the slider value should execute a LargeChange towards the clicked value. This is a dependency property.
IsMouseWheelEnabled
Gets or sets whether the control should respond to the mouse wheel. If the mouse wheel is enabled, its effect is to modify the slider value by SmallChange. This is a dependency property.
LargeChange
Gets or sets the amount to be added to or subtracted from a slider value when a large change is made (e.g. the user clicks on the track and IsInstantMoveEnabled is false). This is a dependency property.
Maximum
Gets or sets the maximum slider value. This is a dependency property.
Minimum
Gets or sets the minimum slider value. The default is 0. This is a dependency property.
Orientation
Gets or sets the orientation of the slider track. This is a dependency property.
RootElement
When overridden in a derived class, gets the root element of the control template.
ShowBottomRightTickMarks
Gets or sets whether tick marks should be displayed below the slider track (to the right in vertical orientation). This is a dependency property.
ShowTopLeftTickMarks
Gets or sets whether tick marks should be displayed above the slider track (to the left in vertical orientation). This is a dependency property.
SmallChange
Gets or sets the amount to be added to or subtracted from a slider value when a small change is made (e.g. mouse wheel or arrow key). This is a dependency property.
SnapToTickMarks
Gets or sets whether slider values should snap to tick marks. This is a dependency property.
TickPositions
Gets a list of positions where tick marks should be displayed. Each value in the list is the distance between the start of the slider track and a particular tick mark.
TickSpacing
Gets or sets the spacing between ticks. The default is 10. This is a dependency property.

Events

  NameDescription
PropertyChanged
Occurs when a property value changes.

See Also