Skip to main content

DiagramContainerBase.AdjustBoundsBehavior Property

Specifies the behavior when the end-user moves items close to the container boundaries. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.2.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public AdjustBoundaryBehavior AdjustBoundsBehavior { get; set; }

Property Value

Type Description
AdjustBoundaryBehavior

A AdjustBoundaryBehavior enumeration value.

Available values:

Name Description
None

Neither the items position nor the container boundaries are auto adjusted when the end-user attempts to move items close to the container boundaries.

AutoAdjust

When the end-user attempts to move items close to the container boundaries, the boundaries are automatically expanded to fit items.

DisableOutOfBounds

When the end-user attempts to move items close to the container boundaries, the item position is automatically adjusted to fit inside the container.

See Also