Skip to main content

DiagramContainer.DragMode Property

Specifies whether the container can be dragged by any point or only by header and bounds.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(ContainerDragMode.ByHeaderAndBounds)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual ContainerDragMode DragMode { get; set; }

Property Value

Type Default Description
ContainerDragMode ByHeaderAndBounds

A ContainerDragMode enumeration value.

Available values:

Name Description
ByHeaderAndBounds

Containers can be dragged only by the header and bounds.

ByAnyPoint

Containers can be dragged by any point.

See Also