Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs) Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs) Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs) Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs) Method

定义

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

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

参数

注解

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

继承者说明

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

适用于