MatchGestureEventArgs.Data Property
Gets or sets the gesture data associated with the input event.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property Data As GestureData
'Usage
Dim instance As MatchGestureEventArgs
Dim value As GestureData
value = instance.Data
instance.Data = value
public GestureData Data { get; set; }
public:
property GestureData^ Data {
GestureData^ get ();
void set (GestureData^ value);
}
public function get Data () : GestureData
public function set Data (value : GestureData)
Property Value
Type: Microsoft.Windows.Design.Interaction.GestureData
The gesture data associated with the input event.
Remarks
You may create new gesture data with different values and set it to this property The new gesture data will be used when invoking the command. It is invalid to set this property to nulla null reference (Nothing in Visual Basic).
When setting this property, you must set it to a type that is at least as derived as its current value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace