Back to Devexpress

DiagramControl.CanvasScrollMode Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-5e78f1e8.md

latest2.3 KB
Original Source

DiagramControl.CanvasScrollMode Property

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

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[Browsable(false)]
[DefaultValue(typeof(ScrollUIMode), "Fluent")]
public ScrollUIMode CanvasScrollMode { get; set; }
vb
<DefaultValue(GetType(ScrollUIMode), "Fluent")>
<Browsable(False)>
Public Property CanvasScrollMode As ScrollUIMode

Property Value

TypeDefaultDescription
ScrollUIMode"Fluent"

A ScrollUIMode value.

|

Available values:

NameDescription
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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace