Skip to main content
All docs
V25.1
  • DiagramControl.CanvasScrollMode Property

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

    Namespace: DevExpress.XtraDiagram

    Assembly: DevExpress.XtraDiagram.v25.1.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