Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.CanvasScrollMode Property

Gets or sets the scroll bar’s appearance and UI behavior.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

[Browsable(false)]
[DefaultValue(typeof(ScrollUIMode), "Fluent")]
public ScrollUIMode CanvasScrollMode { get; set; }

#Property Value

Type Default Description
ScrollUIMode "Fluent"

A ScrollUIMode value.

Available values:

Name Description
Default

The mode is not specified explicitly. Enables Desktop mode.

Desktop

Scroll bars optimized for desktop applications. Auto-hide and auto-expand functionality are not supported.

Touch

Scroll bars optimized for touch applications. They are shown when a user flicks the scrollable content (or the mouse pointer moves over the control), and hidden when the control is not scrolled (or the mouse pointer does not move) for some time. The arrow buttons are never displayed. This style is outdated, use the Fluent style instead.

Fluent

Scroll bars optimized for Fluent Design Forms. They are expanded when a user flicks scrollable content (or the mouse cursor moves over the control) and collapsed to a thin stripe if the control is not scrolled (or the mouse cursor does not move) for some time. The arrow buttons are never displayed.

See Also