TranslateZoomRotateBehavior.ConstrainToParentBounds Property

Gets or sets the value indicating whether the zoom and translate position of the attached object is limited by the bounds of the parent object.

Namespace: Microsoft.Expression.Interactivity.Input
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
Public Property ConstrainToParentBounds As Boolean
'Usage
Dim instance As TranslateZoomRotateBehavior
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

TranslateZoomRotateBehavior Class
TranslateZoomRotateBehavior Members
Microsoft.Expression.Interactivity.Input Namespace