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