Control.OnMouseDoubleClick(MouseButtonEventArgs) Control.OnMouseDoubleClick(MouseButtonEventArgs) Control.OnMouseDoubleClick(MouseButtonEventArgs) Control.OnMouseDoubleClick(MouseButtonEventArgs) Method

定义

引发 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)

参数

注解

控件通过MouseDoubleClick RaiseEvent调用方法来引发事件。The 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.

适用于