Rediger

Del via


RibbonContextualTabGroup.OnMouseDown(MouseButtonEventArgs) Method

Definition

Provides class handling for the MouseDown routed event.

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

Parameters

e
MouseButtonEventArgs

The event data.

Remarks

This method captures the mouse when a single-click occurs on the contextual tab group. It minimizes or maximizes the window when a double-click occurs.

This implementation marks the MouseLeftButtonDown event as handled by setting the Handled property of the event data to true.

Applies to