MenuBase.HandleMouseButton(MouseButtonEventArgs) 方法

定义

在按下或释放鼠标按钮时调用。

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

鼠标事件的事件数据。

适用于