Back to Devexpress

TileControl.ScrollMode Property

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-f9e2b79d.md

latest2.9 KB
Original Source

TileControl.ScrollMode Property

Gets or sets which visual elements will be used when a TileControl‘s workspace is being scrolled.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TileControlScrollMode.Default)]
[DXCategory("Behavior")]
public TileControlScrollMode ScrollMode { get; set; }
vb
<DefaultValue(TileControlScrollMode.Default)>
<DXCategory("Behavior")>
Public Property ScrollMode As TileControlScrollMode

Property Value

TypeDefaultDescription
TileControlScrollModeDefault

A TileControlScrollMode enumerator value specifying the scrolling elements used.

|

Available values:

NameDescription
Default

Default scrolling mode. For the TileControl, the Default value is equivalent to None , while the TileView interprets the Default value as ScrollBar.

| | ScrollBar |

Sets a TileControl to display scroll bars when scrolling is enabled.

| | ScrollButtons |

Sets a TileControl to display scroll buttons when scrolling is enabled.

| | TouchScrollBar |

Displays a thin solid scroll bar painted right above the control’s client area.

| | None |

Prevents any visual scrolling elements from being displayed. TileControl content scrolling is still available via mouse scroll (PC users) or sliding the control (touch-input devices users).

|

Remarks

When running your TileControl applications on touch-input devices, an end-user can scroll content with his/her fingers. For PC users, either scroll bars or scroll buttons can be enabled. The TileControlScrollMode.Default value acts the same way as TileControlScrollMode.None - it disables all scrolling visual elements, so only scrolling via mouse wheel can be performed.

The TileControlScrollMode.Default value is equivalent to TileControlScrollMode.None.

See Also

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace