Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramContainerBase.AdjustBoundsBehavior Property

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.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