Share 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
    Get
    Set
public GestureData Data { get; set; }
public:
property GestureData^ Data {
    GestureData^ get ();
    void set (GestureData^ value);
}
member Data : GestureData with get, set
function get Data () : GestureData
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

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility