SpreadsheetGear 2012
PreviewStylusButtonDown Event (DropDownButton)






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

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

PropertyDescription
Device (Inherited from System.Windows.Input.InputEventArgs)
Handled (Inherited from System.Windows.RoutedEventArgs)
InAir (Inherited from System.Windows.Input.StylusEventArgs)
Inverted (Inherited from System.Windows.Input.StylusEventArgs)
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
StylusButtonGets the System.Windows.Input.StylusButton that raises this event.  
StylusDevice (Inherited from System.Windows.Input.StylusEventArgs)
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
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

DropDownButton Class
DropDownButton Members

Send Feedback