RibbonMenuButton.HandleMouseButton(MouseButtonEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The event data.
Remarks
This method handles the mouse button actions to prevent the base implementation from closing the menu.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.