SpreadsheetGear 2012
PreviewMouseLeftButtonDown Event (SheetTabScrollButton)






Syntax
'Declaration
 
Public Event PreviewMouseLeftButtonDown As System.Windows.Input.MouseButtonEventHandler
'Usage
 
Dim instance As SheetTabScrollButton
Dim handler As System.Windows.Input.MouseButtonEventHandler
 
AddHandler instance.PreviewMouseLeftButtonDown, handler
public event System.Windows.Input.MouseButtonEventHandler PreviewMouseLeftButtonDown
public event PreviewMouseLeftButtonDown: 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* PreviewMouseLeftButtonDown
public:
event System.Windows.Input.MouseButtonEventHandler^ PreviewMouseLeftButtonDown
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
ButtonStateGets the state of the button associated with the event.  
ChangedButtonGets the button associated with the event.  
ClickCountGets the number of times the button was clicked.  
Device (Inherited from System.Windows.Input.InputEventArgs)
Handled (Inherited from System.Windows.RoutedEventArgs)
LeftButton (Inherited from System.Windows.Input.MouseEventArgs)
MiddleButton (Inherited from System.Windows.Input.MouseEventArgs)
MouseDevice (Inherited from System.Windows.Input.MouseEventArgs)
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
RightButton (Inherited from System.Windows.Input.MouseEventArgs)
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
StylusDevice (Inherited from System.Windows.Input.MouseEventArgs)
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
XButton1 (Inherited from System.Windows.Input.MouseEventArgs)
XButton2 (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

Reference

SheetTabScrollButton Class
SheetTabScrollButton Members

Send Feedback