Back to Devexpress

ASPxPivotGrid.EnablePagingGestures Property

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-18ccd075.md

latest2.1 KB
Original Source

ASPxPivotGrid.EnablePagingGestures Property

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

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(AutoBoolean.Auto)]
public AutoBoolean EnablePagingGestures { get; set; }
vb
<DefaultValue(AutoBoolean.Auto)>
Public Property EnablePagingGestures As AutoBoolean

Property Value

TypeDefaultDescription
AutoBooleanAuto

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:

NameDescription
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) pages change with the slide animation effect irrespective of the ASPxPivotGrid.EnablePagingCallbackAnimation property value.

See Also

ASPxPivotGrid Class

ASPxPivotGrid Members

DevExpress.Web.ASPxPivotGrid Namespace