MenuBase.HandleMouseButton(MouseButtonEventArgs) 方法

定义

在按下或释放鼠标按钮时调用。Called when a mouse button is pressed or released.

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

参数

e
MouseButtonEventArgs

鼠标事件的事件数据。The event data for a mouse event.

适用于