Thumb.OnMouseLeftButtonDown Method (MouseButtonEventArgs)

 

Provides class handling for the MouseLeftButtonDown event.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnMouseLeftButtonDown(
	MouseButtonEventArgs e
)

Parameters

e
Type: System.Windows.Input.MouseButtonEventArgs

The event data.

This implementation handles the MouseLeftButtonDown event by setting Handled to true. Also, this method gives the Thumb logical focus and mouse capture, and sets the IsDragging property to true. This implementation also raises the DragStarted event.

.NET Framework
Available since 3.0
Return to top
Show: