SchedulerSettings.EnablePagingGestures Property
Gets or sets a value specifying whether an end-user can navigate views with a swipe gesture.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v20.2.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
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. |
Available values:
Name | Description |
---|---|
Auto | The value is determined automatically, based on the type of the end-user’s device: touch or non-touch. |
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Remarks
Use the EnablePagingGestures property to control the user’s ability to switch between pages with a swipe gesture. By default, this feature is enabled for touch devices only.
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) the visible areas are changed with the slide animation effect irrespective of the ASPxScheduler.EnableCallbackAnimation property value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnablePagingGestures property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.