Skip to main content
A newer version of this page is available. .

DataViewSettingsBase.PageIndex Property

Gets or sets the index of the currently selected page.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

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