SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class : TouchDown Event |
'Declaration
<CustomCategoryAttribute("Touch")> Public Event TouchDown As System.EventHandler(Of TouchEventArgs)
'Usage
Dim instance As WorkbookView Dim handler As System.EventHandler(Of TouchEventArgs) AddHandler instance.TouchDown, handler
[CustomCategory("Touch")] public event System.EventHandler<TouchEventArgs> TouchDown
public event TouchDown: 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*>* TouchDown
[CustomCategory("Touch")] public: event System.EventHandler<TouchEventArgs^>^ TouchDown
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