Edit

Share via


RibbonMenuButton.HandleMouseButton(MouseButtonEventArgs) Method

Definition

Invoked when a mouse button is pressed or released.

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

Parameters

e
MouseButtonEventArgs

The event data.

Remarks

This method handles the mouse button actions to prevent the base implementation from closing the menu.

Applies to