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

DiagramControl.ScrollMode Property

Specifies the current scroll mode. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v18.2.dll

Declaration

public DiagramScrollMode ScrollMode { get; set; }

Property Value

Type Description
DiagramScrollMode

A DiagramScrollMode enumeration value.

Available values:

Name Description
Page

The diagram canvas is scrollable regardless of the content.

Content

The scrolling is enabled only if the diagram items are not fully visible.

Remarks

Set the ScrollMode property to DiagramScrollMode.Content to enable scrolling only if the diagram items are not fully visible.

See Also