Bewerken

Delen via


GridViewHeaderRowPresenter.OnMouseMove(MouseEventArgs) Method

Definition

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

protected:
 override void OnMouseMove(System::Windows::Input::MouseEventArgs ^ e);
protected override void OnMouseMove (System.Windows.Input.MouseEventArgs e);
override this.OnMouseMove : System.Windows.Input.MouseEventArgs -> unit
Protected Overrides Sub OnMouseMove (e As MouseEventArgs)

Parameters

e
MouseEventArgs

The event data.

Remarks

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.

Applies to