Back to Devexpress

DiagramContainerBase.AdjustBoundsBehavior Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontainerbase.md

latest2.0 KB
Original Source

DiagramContainerBase.AdjustBoundsBehavior Property

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

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(AdjustBoundaryBehavior.AutoAdjust)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual AdjustBoundaryBehavior AdjustBoundsBehavior { get; set; }
vb
<DefaultValue(AdjustBoundaryBehavior.AutoAdjust)>
<DiagramCategory(DiagramCategory.Behavior)>
Public Overridable Property AdjustBoundsBehavior As AdjustBoundaryBehavior

Property Value

TypeDefaultDescription
AdjustBoundaryBehaviorAutoAdjust

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.XtraDiagram Namespace