Bewerken

Share via


GridViewColumnHeader.OnMouseLeave(MouseEventArgs) Method

Definition

Provides class handling for the MouseLeave event when the mouse moves off the GridViewColumnHeader.

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

Parameters

e
MouseEventArgs

The event data.

Remarks

This implementation handles the MouseLeave event when the user drags a GridViewColumnHeader with the mouse from its old location, to move the header and its column. To handle the event, the Handled property of the MouseEventArgs is set to true.

Applies to