Skip to main content

DataViewSettingsBase.PageIndex Property

Gets or sets the index of the currently selected page.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public int PageIndex { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the active page’s index.

Remarks

Use the PageIndex property to switch between pages in code.

Note

If the PageIndex property is set to -1, the control displays the content of all pages within its view.

See Also