SpreadsheetGear 2017
PreviewMouseDown Event (SheetTab)






SpreadsheetGear.Windows.Controls Namespace > SheetTab Class : PreviewMouseDown Event
Syntax
'Declaration
 
Public Event PreviewMouseDown As System.Windows.Input.MouseButtonEventHandler
'Usage
 
Dim instance As SheetTab
Dim handler As System.Windows.Input.MouseButtonEventHandler
 
AddHandler instance.PreviewMouseDown, handler
public event System.Windows.Input.MouseButtonEventHandler PreviewMouseDown
public event PreviewMouseDown: System.Windows.Input.MouseButtonEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.MouseButtonEventHandler* PreviewMouseDown
public:
event System.Windows.Input.MouseButtonEventHandler^ PreviewMouseDown
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.

PropertyDescription
Gets the state of the button associated with the event.  
Gets the button associated with the event.  
Gets the number of times the button was clicked.  
(Inherited from System.Windows.Input.InputEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(Inherited from System.Windows.Input.InputEventArgs)
(Inherited from System.Windows.Input.MouseEventArgs)
(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