Back to Devexpress

DiagramContainerBase.AdjustBoundsBehavior Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontainerbase-61b0f010.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public AdjustBoundaryBehavior AdjustBoundsBehavior { get; set; }
vb
Public Property AdjustBoundsBehavior As AdjustBoundaryBehavior

Property Value

TypeDescription
AdjustBoundaryBehavior

A AdjustBoundaryBehavior enumeration value.

|

Available values:

NameDescription
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

DiagramContainerBase Class

DiagramContainerBase Members

DevExpress.Xpf.Diagram Namespace