Skip to main content

TileViewItemOptions.ScrollMode Property

Gets or sets which scroll elements this TileView should display.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DefaultValue(TileControlScrollMode.Default)]
[XtraSerializableProperty]
public TileControlScrollMode ScrollMode { get; set; }

Property Value

Type Default Description
TileControlScrollMode Default

A TileControlScrollMode enumerator value that specifies which scroll elements this TileView should display.

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).

Property Paths

You can access this nested property as listed below:

Object Type Path to ScrollMode
TileView
.OptionsTiles .ScrollMode

Remarks

Depending on the ScrollMode property value, a TileView can display scroll bars, scroll buttons or display nothing at runtime when the view’s content cannot be completely shown within the current view bounds. Regardless of the current ScrollMode setting, end-users will be able to scroll using the mouse wheel or by dragging the view content.

The Default value for the TileViewItemOptions.ScrollMode property acts identically to the ScrollBar value.

See Also