Share via


GestureData.TargetModel Property

Gets the object that is the target of this gesture.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public ReadOnly Property TargetModel As ModelItem
    Get
public ModelItem TargetModel { get; }
public:
property ModelItem^ TargetModel {
    ModelItem^ get ();
}
member TargetModel : ModelItem
function get TargetModel () : ModelItem

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem that represents the target of this gesture.

Remarks

Some gestures, such as a drag operation, have both a source and a target. The source and target start off the same, but the target may change as the user drags an item around the designer. The TargetModel property represents the model associated with the element the user first began the gesture over.

.NET Framework Security

See Also

Reference

GestureData Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility