Export (0) Print
Expand All

MouseDragElementBehavior Members

Expression Studio 4.0

Repositions the attached element in response to mouse drag gestures on the element.

The following tables list the members exposed by the MouseDragElementBehavior type.

  Name Description
MouseDragElementBehavior Initializes a new instance of the Behavior`1 class.
Top

  Name Description
public field static ConstrainToParentBoundsProperty Dependency property for the ConstrainToParentBounds property. If true, the dragged element will be constrained to stay within the bounds of its parent container.
public field static XProperty Dependency property for the X position of the dragged element, relative to the left of the root element.
public field static YProperty Dependency property for the Y position of the dragged element, relative to the top of the root element.
Top

(see also Protected Properties)
 NameDescription
public propertyConstrainToParentBounds Gets or sets a value indicating whether the dragged element is constrained to stay within the bounds of its parent container. This is a dependency property.
public propertyDispatcher  (Inherited from DependencyObject)
public propertyX Gets or sets the X position of the dragged element, relative to the left of the root element. This is a dependency property.
public propertyY Gets or sets the Y position of the dragged element, relative to the top of the root element. This is a dependency property.
Top

  Name Description
protected property AssociatedObject  Gets the object to which this Behavior`1 is attached.  (Inherited from Behavior)
protected property AssociatedType  The type to which this behavior can be attached.  (Inherited from Behavior)
Top

(see also Protected Methods)
 NameDescription
public methodAttach  (Inherited from Behavior)
public methodCheckAccess  (Inherited from DependencyObject)
public methodClearValue  (Inherited from DependencyObject)
public methodDetach  Detaches this instance from its associated object.  (Inherited from Behavior)
public methodEquals  Overloaded. (Inherited from Object)
public methodGetAnimationBaseValue  (Inherited from DependencyObject)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodGetValue  (Inherited from DependencyObject)
public methodReadLocalValue  (Inherited from DependencyObject)
public methodstaticReferenceEquals  (Inherited from Object)
public methodSetValue  (Inherited from DependencyObject)
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method OnAttached Overridden. Called after the behavior is attached to an AssociatedObject.
protected method OnDetaching Overridden. Called when the behavior is getting detached from its AssociatedObject, but before it has actually occurred.
Top

  Name Description
public event DragBegun Occurs when a drag gesture is initiated.
public event DragFinished Occurs when a drag gesture is finished.
public event Dragging Occurs when a drag gesture update is processed.
Top

  Name Description
System.Windows.Interactivity.IAttachedObject.AssociatedObject  Gets the object to which this Behavior`1 is attached.  (Inherited from Behavior)
Top

  Copyright © 2011 by Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft