Bewerken

Delen via


GridViewHeaderRowPresenter.OnMouseLeftButtonDown(MouseButtonEventArgs) Method

Definition

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

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

Parameters

e
MouseButtonEventArgs

The event data.

Remarks

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.

Applies to