## PivotFieldTop10AutoShowSettings class


Represents the Top 10 AutoShow settings for a pivot field.

```cpp
class PivotFieldTop10AutoShowSettings
```

## Methods

| Method | Description |
| --- | --- |
| [GetAutoShowCount()](./getautoshowcount/) | Represent the number of top or bottom items that are automatically shown in the specified [PivotTable](../pivottable/) field. |
| [GetRankBy()](./getrankby/) | Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means [PivotField](../pivotfield/) itself. It should be the index of the data fields. |
| [IsAutoShow()](./isautoshow/) | Indicates whether an "Top 10 AutoShow" filter is applied to this field. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| [IsTop()](./istop/) | Indicates whether the specified [PivotTable](../pivottable/) field is autoshown ascending. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const PivotFieldTop10AutoShowSettings\& src)](./operator_asm/) | operator= |
| [PivotFieldTop10AutoShowSettings(PivotFieldTop10AutoShowSettings_Impl* impl)](./pivotfieldtop10autoshowsettings/) | Constructs from an implementation object. |
| [PivotFieldTop10AutoShowSettings(const PivotFieldTop10AutoShowSettings\& src)](./pivotfieldtop10autoshowsettings/) | Copy constructor. |
| [SetAutoShowCount(int32_t value)](./setautoshowcount/) | Represent the number of top or bottom items that are automatically shown in the specified [PivotTable](../pivottable/) field. |
| [SetIsAutoShow(bool value)](./setisautoshow/) | Indicates whether an "Top 10 AutoShow" filter is applied to this field. |
| [SetIsTop(bool value)](./setistop/) | Indicates whether the specified [PivotTable](../pivottable/) field is autoshown ascending. |
| [SetRankBy(int32_t value)](./setrankby/) | Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means [PivotField](../pivotfield/) itself. It should be the index of the data fields. |
| [~PivotFieldTop10AutoShowSettings()](./~pivotfieldtop10autoshowsettings/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## Remarks


In xls : Implementing top 10 filters in Xls through Top 10 AutoShow In ooxml files: The underlying ooxml file format supports [Top10](../../aspose.cells/top10/) AutoShow, but Excel 2007 and later user interface only provides access via [Top10](../../aspose.cells/top10/) filter. If XLS compatibility is not required, it is recommended to use [Top10](../../aspose.cells/top10/) filter instead. 
## See Also

* Namespace [Aspose::Cells::Pivot](../)
* Library [Aspose.Cells for C++](../../)
