共用方式為


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

滑鼠事件的事件資料。

適用於