SpreadsheetGear.Windows.Controls Namespace > DropDownButton Class : PreviewTouchDown Event |
'Declaration
<CustomCategoryAttribute("Touch")> Public Event PreviewTouchDown As System.EventHandler(Of TouchEventArgs)
'Usage
Dim instance As DropDownButton Dim handler As System.EventHandler(Of TouchEventArgs) AddHandler instance.PreviewTouchDown, handler
[CustomCategory("Touch")] public event System.EventHandler<TouchEventArgs> PreviewTouchDown
public event PreviewTouchDown: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[CustomCategory("Touch")] public: __event System.EventHandler<TouchEventArgs*>* PreviewTouchDown
[CustomCategory("Touch")] public: event System.EventHandler<TouchEventArgs^>^ PreviewTouchDown
The event handler receives an argument of type System.Windows.Input.TouchEventArgs containing data related to this event. The following TouchEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
TouchDevice | Gets the touch that generated the event. |
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