Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft