---
title: "MainWeb.CurrentPageIndex"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb/mainweb/currentpageindex/"
product: "Aspose.Cells for .NET API Reference"
description: "MainWeb property. Gets or sets the current page index in paging mode"
---

## MainWeb.CurrentPageIndex property

Gets or sets the current page index in paging mode.

```csharp
public int CurrentPageIndex { get; set; }
```

### Remarks

When in paging mode, the control will display PageSize rows of data once, and display the page select control in the tab bar.

### See Also

* class [MainWeb](../)
* namespace [Aspose.Cells.GridWeb](../../../aspose.cells.gridweb/)
* assembly [Aspose.Cells.GridWeb](../../../)


