Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnMouseLeftButtonDown Method

GridViewHeaderRowPresenter.OnMouseLeftButtonDown Method

Provides class handling for the MouseLeftButtonDown event that occurs when the user presses the left mouse button inside a GridViewColumnHeader.

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

protected override void OnMouseLeftButtonDown(
	MouseButtonEventArgs e
)

Parameters

e
Type: System.Windows.Input.MouseButtonEventArgs

The event data.

If AllowsColumnReorder is true, this method prepares a column to be dragged to another location in the column header row.

This implementation handles the MouseLeftButtonDown event by setting the Handled event argument to true.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft