Intersoft ClientUI Documentation
MouseLeftButtonDown Event
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > UXPopup Class : MouseLeftButtonDown Event






Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a UIElement.

Syntax

Visual Basic (Declaration) 
Public Shadows Event MouseLeftButtonDown As MouseButtonEventHandler
Visual Basic (Usage)Copy Code
Dim instance As UXPopup
Dim handler As MouseButtonEventHandler
 
AddHandler instance.MouseLeftButtonDown, handler
C# 
public new event MouseButtonEventHandler MouseLeftButtonDown
Delphi 
public event MouseLeftButtonDown: MouseButtonEventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: new __event MouseButtonEventHandler* MouseLeftButtonDown
C++/CLI 
public:
new event MouseButtonEventHandler^ MouseLeftButtonDown

Event Data

The event handler receives an argument of type MouseButtonEventArgs containing data related to this event. The following MouseButtonEventArgs properties provide information specific to this event.

PropertyDescription
ButtonState Gets the state of the button associated with the event.
ChangedButton Gets the button associated with the event.
ClickCount Gets the number of times the button was clicked.
Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
LeftButton (Inherited from Intersoft.Client.Framework.Input.MouseEventArgs) 
MiddleButton (Inherited from Intersoft.Client.Framework.Input.MouseEventArgs) 
OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
RightButton (Inherited from Intersoft.Client.Framework.Input.MouseEventArgs) 
RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a reference to the object that raised the event.
StylusDevice (Inherited from Intersoft.Client.Framework.Input.MouseEventArgs) 

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.