GridSettingsBase.EnablePagingGestures Property

Gets or sets a value specifying whether an end-user can switch pages with a swipe gesture.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

public AutoBoolean EnablePagingGestures { get; set; }
Public Property EnablePagingGestures As AutoBoolean

Property Value

Type Description
AutoBoolean

True, if page switching by gestures is always allowed; False, if it is always prohibited; Auto - if it is allowed for touch devices only.

Remarks

Use the EnablePagingGestures property to control the user capability to switch between pages with a swipe gesture. By default, this feature is enabled for touch devices only.

ASPxGridView_EnablePagingGestures

NOTE

If paging gestures are enabled (the EnablePagingGestures property is set to True, or it is set to Auto and a touch device is used), pages change with the slide animation effect irrespective of the GridSettingsBase.EnablePagingCallbackAnimation property value.

NOTE

Enabling horizontal scrollbars (via the ASPxGridSettings.HorizontalScrollBarMode option) on an ASPxGridView control disables the paging gesture functionality, so the EnablePagingGestures property is not in effect.

See Also