MouseDragElementBehavior Members
Repositions the attached element in response to mouse drag gestures on the element.
The following tables list the members exposed by the MouseDragElementBehavior type.
Public Constructors
Name | Description | |
---|---|---|
MouseDragElementBehavior | Initializes a new instance of the Behavior`1 class. |
Top
Public Fields
Name | Description | |
---|---|---|
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)
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
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)
Top
Protected Methods
Name | Description | |
---|---|---|
CloneCore | (Inherited from Freezable) | |
CloneCurrentValueCore | (Inherited from Freezable) | |
CreateInstance | (Inherited from Freezable) | |
CreateInstanceCore | (Inherited from Behavior) | |
Finalize | (Inherited from Object) | |
Freeze | Overloaded. (Inherited from Freezable) | |
FreezeCore | (Inherited from Animatable) | |
GetAsFrozenCore | (Inherited from Freezable) | |
GetCurrentValueAsFrozenCore | (Inherited from Freezable) | |
MemberwiseClone | (Inherited from Object) | |
OnAttached | Overridden. Called after the behavior is attached to an AssociatedObject. | |
OnChanged | (Inherited from Freezable) | |
OnDetaching | Overridden. Called when the behavior is getting detached from its AssociatedObject, but before it has actually occurred. | |
OnFreezablePropertyChanged | Overloaded. (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
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
System.Windows.Interactivity.IAttachedObject.AssociatedObject | Gets the object to which this Behavior`1 is attached. (Inherited from Behavior) |
Top
See Also
Reference
MouseDragElementBehavior Class
Microsoft.Expression.Interactivity.Layout Namespace