Redigera

Dela via


Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs) Method

Definition

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)

Parameters

e
MouseButtonEventArgs

The event data.

Remarks

The control raises the PreviewMouseDoubleClick event by calling the RaiseEvent method. For more information, see Routed Events Overview.

Notes to Inheritors

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.

Applies to