OnMouseMove Method

GridViewHeaderRowPresenter.OnMouseMove Method (MouseEventArgs)


Provides class handling for the MouseMove event that occurs when the user moves the mouse.

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

protected override void OnMouseMove(
	MouseEventArgs e


Type: System.Windows.Input.MouseEventArgs

The event data.

If the AllowsColumnReorder property is set to true and the user presses the left mouse button, this method implements the visual behavior that occurs when the user drags a GridViewColumnHeader to a new location. This method override sets the Handled event argument to true for the MouseMove event even if the user does not press the left mouse button.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft