Skip to main content

DiagramContainerBase.AdjustBoundsBehavior Property

Specifies the behavior when the end-user moves items close to the container boundaries.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(AdjustBoundaryBehavior.AutoAdjust)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual AdjustBoundaryBehavior AdjustBoundsBehavior { get; set; }

Property Value

Type Default Description
AdjustBoundaryBehavior AutoAdjust

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