Uredi

Deli z drugimi prek


Mouse.AddMouseDownHandler(DependencyObject, MouseButtonEventHandler) Method

Definition

Adds a handler for the MouseDown attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
MouseButtonEventHandler

The event handler.

Applies to