Partager via


Mouse.AddPreviewMouseDownOutsideCapturedElementHandler Méthode

Définition

Ajoute un gestionnaire pour l'événement attaché PreviewMouseDownOutsideCapturedElement.

public:
 static void AddPreviewMouseDownOutsideCapturedElementHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseButtonEventHandler ^ handler);
public static void AddPreviewMouseDownOutsideCapturedElementHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseButtonEventHandler handler);
static member AddPreviewMouseDownOutsideCapturedElementHandler : System.Windows.DependencyObject * System.Windows.Input.MouseButtonEventHandler -> unit
Public Shared Sub AddPreviewMouseDownOutsideCapturedElementHandler (element As DependencyObject, handler As MouseButtonEventHandler)

Paramètres

element
DependencyObject

UIElement ou ContentElement qui écoute cet événement.

handler
MouseButtonEventHandler

Gestionnaire d'événements.

S’applique à