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.v24.2.dll
Declaration
[DefaultValue(TileControlScrollMode.Default)]
[DXCategory("Behavior")]
public TileControlScrollMode ScrollMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
TileControlScrollMode | Default | A TileControlScrollMode enumerator value specifying the scrolling elements used. |
Available values:
Name | Description |
---|---|
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.