Skip to main content
A newer version of this page is available. .

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

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