Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet) while the mouse pointer is over a
System.Windows.UIElement.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Event MouseLeftButtonDown As System.Windows.Input.MouseButtonEventHandler |
| C# | |
|---|
public event System.Windows.Input.MouseButtonEventHandler MouseLeftButtonDown |
Event Data
The event handler receives an argument of type System.Windows.Input.MouseButtonEventArgs containing data related to this event. The following MouseButtonEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Handled | Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again. |
| OriginalSource | Gets a reference to the object that raised the event. (Inherited from System.Windows.RoutedEventArgs) |
| StylusDevice | Gets an object that reports stylus device information, such as the collection of stylus points associated with the input. (Inherited from System.Windows.Input.MouseEventArgs) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also