Szerkesztés

Megosztás a következőn keresztül:


Slider.OnThumbDragStarted(DragStartedEventArgs) Method

Definition

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

e
DragStartedEventArgs

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.

Applies to