-
Notifications
You must be signed in to change notification settings - Fork 140
MouseDragElementBehavior
branh edited this page Dec 4, 2018
·
2 revisions
MouseDragElementBehavior allows a FrameworkElement (such as a Button or Rectangle) to be dragged around the screen using the mouse.
The position of an element controlled by this behavior may also be set with the X
and Y
properties, or constrained to the bounds of its' parent container if ConstrainToParentBounds
is set to true.
<Rectangle>
<Behaviors:Interaction.Behaviors>
<Behaviors:MouseDragElementBehavior/>
</Behaviors:Interaction.Behaviors>
</Rectangle>
- Introduction
- Contribution
- Behaviors Reference
- CallMethodAction
- ChangePropertyAction
- ConditionBehavior
- ControlStoryboardAction
- DataStateBehavior
- FluidMoveBehavior
- FluidMoveSetTagBehavior
- GoToStateAction
- InvokeCommandAction
- LaunchUriOrFileAction
- MouseDragElementBehavior
- PlaySoundAction
- RemoveElementAction
- SetDataStoreValueAction
- TranslateZoomRotateBehavior