Share via


GestureData.SourceModel Property

Gets the object that is the source of this gesture.

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

Syntax

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

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem that is the source 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 SourceModel 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