Udostępnij za pośrednictwem


GestureData.ImpliedTarget Property

Gets the model 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 ImpliedTarget As ModelItem
    Get
public ModelItem ImpliedTarget { get; }
public:
property ModelItem^ ImpliedTarget {
    ModelItem^ get ();
}
member ImpliedTarget : ModelItem
function get ImpliedTarget () : 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 target property represents the model associated with the element the gesture is currently over, and may change dynamically as the user drags an item around. If the gesture is currently over an adorner, the ImpliedTarget property returns the model associated with the adorner. Otherwise, the SourceModel property is returned.

.NET Framework Security

See Also

Reference

GestureData Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility