Slider.OnThumbDragStarted(DragStartedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides class handling for the DragStarted event that occurs when the user starts to drag the Thumb of the Slider.
protected:
virtual void OnThumbDragStarted(System::Windows::Controls::Primitives::DragStartedEventArgs ^ e);
protected virtual void OnThumbDragStarted (System.Windows.Controls.Primitives.DragStartedEventArgs e);
abstract member OnThumbDragStarted : System.Windows.Controls.Primitives.DragStartedEventArgs -> unit
override this.OnThumbDragStarted : System.Windows.Controls.Primitives.DragStartedEventArgs -> unit
Protected Overridable Sub OnThumbDragStarted (e As DragStartedEventArgs)
Parameters
The event data.
Remarks
In addition to the default processing of the DragStarted event, this implementation displays a tooltip that shows the Value of the Slider when the AutoToolTipPlacement property is not set to None.
This implementation does not handle the DragStarted event. The value of the Handled property of the DragCompletedEventArgs is not changed.
This method can be overridden to customize the way a Slider processes Thumb movements.