This documentation is archived and is not being maintained.

GridViewColumnHeader.OnMouseMove Method

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

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

protected override void OnMouseMove (
	MouseEventArgs e
)
protected void OnMouseMove (
	MouseEventArgs e
)
protected override function OnMouseMove (
	e : MouseEventArgs
)
You cannot use methods in XAML.

Parameters

e

The event data.

This implementation keeps the left mouse button in a pressed state while a GridViewColumn is moved by a drag-and-drop operation. This also causes the IsPressed property of the GridViewColumnHeader to remain set to true when the mouse with its left mouse button pressed moves off the header.

This implementation keeps the Handled event argument set to false for the MouseMove event so that the GridViewHeaderRowPresenter.OnMouseMove method can support the drag-and-drop operation that moves a column.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: