Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.Expression.Interactivity.Layout
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)
Syntax
'Declaration
Public Property ConstrainToParentBounds As Boolean
'Usage
Dim instance As MouseDragElementBehavior
Dim value As Boolean
value = instance.ConstrainToParentBounds
instance.ConstrainToParentBounds = value
public bool ConstrainToParentBounds { get; set; }
public:
property bool ConstrainToParentBounds {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_ConstrainToParentBounds ()
/** @property */
public void set_ConstrainToParentBounds (boolean value)
public function get ConstrainToParentBounds () : boolean
public function set ConstrainToParentBounds (value : boolean)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
MouseDragElementBehavior Class
MouseDragElementBehavior Members
Microsoft.Expression.Interactivity.Layout Namespace