Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control.OnMouseDoubleClick Method (MouseButtonEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the MouseDoubleClick routed event.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnMouseDoubleClick(
	MouseButtonEventArgs e
)

Parameters

e
Type: System.Windows.Input.MouseButtonEventArgs

The event data.

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

Notes to Inheritors:

When overriding OnMouseDoubleClick in a derived class, be sure to call the base class’s OnMouseDoubleClick method so that registered delegates receive the event.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft