Share via


MouseDragElementBehavior.ConstrainToParentBoundsProperty 欄位

ConstrainToParentBounds 屬性的相依性屬性。如果為 true,將會限制拖曳的元素要保持在其父容器的界限內。

命名空間: Microsoft.Expression.Interactivity.Layout
組件: Microsoft.Expression.Interactions (在 microsoft.expression.interactions.dll 中)

語法

'宣告
Public Shared ReadOnly ConstrainToParentBoundsProperty As DependencyProperty
'用途
Dim value As DependencyProperty

value = MouseDragElementBehavior.ConstrainToParentBoundsProperty
public static readonly DependencyProperty ConstrainToParentBoundsProperty
public:
static initonly DependencyProperty^ ConstrainToParentBoundsProperty
public static final DependencyProperty ConstrainToParentBoundsProperty
public static final var ConstrainToParentBoundsProperty : DependencyProperty

另請參閱

參照

MouseDragElementBehavior 類別
MouseDragElementBehavior 成員
Microsoft.Expression.Interactivity.Layout 命名空間