Dela via


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

See Also

Reference

MatchGestureEventArgs Class

MatchGestureEventArgs Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility