ComponentOne Gauges for WinForms
ItemMouseDown Event (C1GaugeBase)

C1.Win.C1Gauge.4 Assembly > C1.Win.C1Gauge Namespace > C1GaugeBase Class : ItemMouseDown Event
Occurs when the mouse pointer is over a Gauge item and a mouse button is pressed.
Syntax
'Declaration
 
Public Event ItemMouseDown As ItemMouseEventHandler
public event ItemMouseEventHandler ItemMouseDown
Event Data

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

PropertyDescription
Gets which mouse button was pressed.  
Gets the number of times the mouse button was pressed or released.  
Gets the owner C1Gauge control. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Gets the owner C1GaugeBase for the item causing the event. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Gets the item causing the event. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Indicates whether the item can be hit-tested. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Indicates whether the mouse pointer stays over the item. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Indicates whether the item is in 'pressed' state. (Inherited from C1.Win.C1Gauge.ItemEventArgs)
Gets the location of the mouse during the generating mouse event.  
Gets the x-coordinate of the mouse, in pixels.  
Gets the y-coordinate of the mouse, in pixels.  
See Also