SpreadsheetGear 2012
MouseEnter Event (FormulaBar)






Syntax
'Declaration
 
Public Event MouseEnter As System.Windows.Input.MouseEventHandler
'Usage
 
Dim instance As FormulaBar
Dim handler As System.Windows.Input.MouseEventHandler
 
AddHandler instance.MouseEnter, handler
public event System.Windows.Input.MouseEventHandler MouseEnter
public event MouseEnter: System.Windows.Input.MouseEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.MouseEventHandler* MouseEnter
public:
event System.Windows.Input.MouseEventHandler^ MouseEnter
Event Data

The event handler receives an argument of type System.Windows.Input.MouseEventArgs containing data related to this event. The following MouseEventArgs properties provide information specific to this event.

PropertyDescription
Device (Inherited from System.Windows.Input.InputEventArgs)
Handled (Inherited from System.Windows.RoutedEventArgs)
LeftButtonGets the current state of the left mouse button.  
MiddleButtonGets the current state of the middle mouse button.  
MouseDeviceGets the mouse device associated with this event.  
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
RightButtonGets the current state of the right mouse button.  
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
StylusDeviceGets the stylus device associated with this event.  
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
XButton1Gets the current state of the first extended mouse button.  
XButton2Gets the state of the second extended mouse button.  
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

FormulaBar Class
FormulaBar Members

Send Feedback