Menu

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

Public Constructors

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

Public Fields

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

Public Properties (see also Protected Properties)

NameDescription
CanFreeze(Inherited from Freezable)
ConstrainToParentBounds 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.
DependencyObjectType(Inherited from DependencyObject)
Dispatcher(Inherited from DispatcherObject)
HasAnimatedProperties(Inherited from Animatable)
IsFrozen(Inherited from Freezable)
IsSealed(Inherited from DependencyObject)
X Gets or sets the X position of the dragged element, relative to the left of the root element. This is a dependency property.
Y Gets or sets the Y position of the dragged element, relative to the top of the root element. This is a dependency property.
Top

Protected Properties

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

Public Methods (see also Protected Methods)

NameDescription
ApplyAnimationClockOverloaded. (Inherited from Animatable)
Attach(Inherited from Behavior)
BeginAnimationOverloaded. (Inherited from Animatable)
CheckAccess(Inherited from DispatcherObject)
ClearValueOverloaded. (Inherited from DependencyObject)
Clone(Inherited from Animatable)
CloneCurrentValue(Inherited from Freezable)
CoerceValue(Inherited from DependencyObject)
Detach Detaches this instance from its associated object. (Inherited from Behavior)
EqualsOverloaded. (Inherited from DependencyObject)
FreezeOverloaded. (Inherited from Freezable)
GetAnimationBaseValue(Inherited from Animatable)
GetAsFrozen(Inherited from Freezable)
GetCurrentValueAsFrozen(Inherited from Freezable)
GetHashCode(Inherited from DependencyObject)
GetLocalValueEnumerator(Inherited from DependencyObject)
GetType(Inherited from Object)
GetValue(Inherited from DependencyObject)
InvalidateProperty(Inherited from DependencyObject)
ReadLocalValue(Inherited from DependencyObject)
ReferenceEquals(Inherited from Object)
SetCurrentValue(Inherited from DependencyObject)
SetValueOverloaded. (Inherited from DependencyObject)
ShouldSerializeStoredWeakReference(Inherited from Animatable)
ToString(Inherited from Object)
VerifyAccess(Inherited from DispatcherObject)
Top

Protected Methods

NameDescription
CloneCore(Inherited from Freezable)
CloneCurrentValueCore(Inherited from Freezable)
CreateInstance(Inherited from Freezable)
CreateInstanceCore(Inherited from Behavior)
Finalize(Inherited from Object)
FreezeOverloaded. (Inherited from Freezable)
FreezeCore(Inherited from Animatable)
GetAsFrozenCore(Inherited from Freezable)
GetCurrentValueAsFrozenCore(Inherited from Freezable)
MemberwiseClone(Inherited from Object)
OnAttachedOverridden. Called after the behavior is attached to an AssociatedObject.
OnChanged(Inherited from Freezable)
OnDetachingOverridden. Called when the behavior is getting detached from its AssociatedObject, but before it has actually occurred.
OnFreezablePropertyChangedOverloaded. (Inherited from Freezable)
OnPropertyChanged(Inherited from Freezable)
ReadPreamble(Inherited from Freezable)
ShouldSerializeProperty(Inherited from DependencyObject)
WritePostscript(Inherited from Freezable)
WritePreamble(Inherited from Freezable)
Top

Public Events

NameDescription
Changed(Inherited from Freezable)
DragBegun Occurs when a drag gesture is initiated.
DragFinished Occurs when a drag gesture is finished.
Dragging Occurs when a drag gesture update is processed.
Top

Explicit Interface Implementations

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

See Also