Skip to main content

DiagramControl.ScrollMode Property

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

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