## GridPivotItem class

Represents a item in a PivotField report.

```csharp
public class GridPivotItem
```

## Properties

| Name | Description |
| --- | --- |
| [Index](../../aspose.cells.griddesktop.data/gridpivotitem/index/) { get; set; } | Gets the index of the pivot item in the pivot field |
| [IsHidden](../../aspose.cells.griddesktop.data/gridpivotitem/ishidden/) { get; set; } | Gets and Sets whether the pivot item is hidden. |
| [Name](../../aspose.cells.griddesktop.data/gridpivotitem/name/) { get; } | Gets the name of the pivot item. |
| [Value](../../aspose.cells.griddesktop.data/gridpivotitem/value/) { get; } | Gets the value of the pivot item |

## Methods

| Name | Description |
| --- | --- |
| [GetDateTimeValue](../../aspose.cells.griddesktop.data/gridpivotitem/getdatetimevalue/)() | Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue |
| [GetDoubleValue](../../aspose.cells.griddesktop.data/gridpivotitem/getdoublevalue/)() | Gets the double value of the pivot item If the value is null or not number ,it will return 0 |
| [GetStringValue](../../aspose.cells.griddesktop.data/gridpivotitem/getstringvalue/)() | Gets the string value of the pivot item If the value is null, it will return "" |
| [Move](../../aspose.cells.griddesktop.data/gridpivotitem/move/)(int) | Moves the item up or down. |

### See Also

* namespace [Aspose.Cells.GridDesktop.Data](../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../)


