Mouse.AddPreviewMouseDownOutsideCapturedElementHandler Method (DependencyObject, MouseButtonEventHandler)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Adds a handler for the PreviewMouseDownOutsideCapturedElement attached event.
Assembly: PresentationCore (in PresentationCore.dll)
Public Shared Sub AddPreviewMouseDownOutsideCapturedElementHandler ( element As DependencyObject, handler As MouseButtonEventHandler )
Parameters
- element
-
Type:
System.Windows.DependencyObject
The UIElement or ContentElement that listens to this event.
- handler
-
Type:
System.Windows.Input.MouseButtonEventHandler
The event handler.
.NET Framework
Available since 3.0
Available since 3.0
Show: