GrapeCity.Windows.SpreadSheet.UI Namespace > TabStripSideButton Class : PreviewMouseDown Event |
'Declaration Public Event PreviewMouseDown As System.Windows.Input.MouseButtonEventHandler
'Usage Dim instance As TabStripSideButton Dim handler As System.Windows.Input.MouseButtonEventHandler AddHandler instance.PreviewMouseDown, handler
public event System.Windows.Input.MouseButtonEventHandler PreviewMouseDown
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.
Property | Description |
---|---|
ButtonState | Gets the state of the button associated with the event. |
ChangedButton | Gets the button associated with the event. |
ClickCount | Gets 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) |
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)