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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace