ComponentOne Gauges for WinForms
PointerDragCancel Event

C1.Win.C1Gauge.4 Assembly > C1.Win.C1Gauge Namespace > C1GaugeBase Class : PointerDragCancel Event
Occurs if the user cancels dragging a Gauge pointer by pressing the Escape key.
Syntax
'Declaration
 
Public Event PointerDragCancel As PointerDragEventHandler
public event PointerDragEventHandler PointerDragCancel
Event Data

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

PropertyDescription
Gets which mouse button was pressed. (Inherited from C1.Win.C1Gauge.ItemMouseEventArgs)
Gets the number of times the mouse button was pressed or released. (Inherited from C1.Win.C1Gauge.ItemMouseEventArgs)
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. (Inherited from C1.Win.C1Gauge.ItemMouseEventArgs)
Gets the suggested new value for the pointer.  
Gets the Gauge pointer being dragged.  
Gets the x-coordinate of the mouse, in pixels. (Inherited from C1.Win.C1Gauge.ItemMouseEventArgs)
Gets the y-coordinate of the mouse, in pixels. (Inherited from C1.Win.C1Gauge.ItemMouseEventArgs)
Remarks
This event is supported if the C1Gauge.Selectable property is True.
See Also