Control.OnMouseDoubleClick(MouseButtonEventArgs) 方法

定义

引发 MouseDoubleClick 路由事件。Raises the MouseDoubleClick routed event.

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

参数

e
MouseButtonEventArgs

事件数据。The event data.

注解

控件 MouseDoubleClick 通过调用方法来引发事件 RaiseEventThe control raises the MouseDoubleClick event by calling the RaiseEvent method. 有关详细信息,请参阅路由事件概述For more information, see Routed Events Overview.

继承者说明

OnMouseDoubleClick(MouseButtonEventArgs) 在派生类中重写时,请确保调用基类的 OnMouseDoubleClick(MouseButtonEventArgs) 方法,以便注册的委托接收事件。When overriding OnMouseDoubleClick(MouseButtonEventArgs) in a derived class, be sure to call the base class' OnMouseDoubleClick(MouseButtonEventArgs) method so that registered delegates receive the event.

适用于