##  SlicerCache classe
Rappresenta la descrizione riassuntiva della cache slicer



Il tipo SlicerCache espone i seguenti membri:

###  Proprietà
| Proprietà| Descrizione|
| :- | :- |
| [cross_filter_type](/cells/python-net/it/aspose.cells.slicers/slicercache/cross_filter_type) | Restituisce o imposta se un'affettatrice partecipa al filtraggio incrociato con altre affettatrici<br/> che condividono la stessa cache slicer e come viene visualizzato il filtro incrociato. Lettura/scrittura|
| [list](/cells/python-net/it/aspose.cells.slicers/slicercache/list) | Restituisce se l'affettatrice associata alla cache affettatrice specificata si basa su un'origine dati non OLAP. Di sola lettura|
| [slicer_cache_items](/cells/python-net/it/aspose.cells.slicers/slicercache/slicer_cache_items) | Restituisce una raccolta SlicerCacheItem che contiene la raccolta di tutti gli elementi nella cache dello slicer. Di sola lettura|
| [name](/cells/python-net/it/aspose.cells.slicers/slicercache/name) | Restituisce il nome della cache slicer.|
| [source_name](/cells/python-net/it/aspose.cells.slicers/slicercache/source_name) | Restituisce il nome di questa cache slicer.|



###  Esempio

```python
from aspose.cells import Workbook
from aspose.cells.pivot import PivotFieldType, PivotTableStyleType
from aspose.cells.slicers import SlicerStyleType

book = Workbook()
sheet = book.worksheets[0]
cells = sheet.cells
cells.get(0, 0).value = "fruit"
cells.get(1, 0).value = "grape"
cells.get(2, 0).value = "blueberry"
cells.get(3, 0).value = "kiwi"
cells.get(4, 0).value = "cherry"
cells.get(5, 0).value = "grape"
cells.get(6, 0).value = "blueberry"
cells.get(7, 0).value = "kiwi"
cells.get(8, 0).value = "cherry"
cells.get(0, 1).value = "year"
cells.get(1, 1).value = 2020
cells.get(2, 1).value = 2020
cells.get(3, 1).value = 2020
cells.get(4, 1).value = 2020
cells.get(5, 1).value = 2021
cells.get(6, 1).value = 2021
cells.get(7, 1).value = 2021
cells.get(8, 1).value = 2021
cells.get(0, 2).value = "amount"
cells.get(1, 2).value = 50
cells.get(2, 2).value = 60
cells.get(3, 2).value = 70
cells.get(4, 2).value = 80
cells.get(5, 2).value = 90
cells.get(6, 2).value = 100
cells.get(7, 2).value = 110
cells.get(8, 2).value = 120
pivots = sheet.pivot_tables
pivotIndex = pivots.add("=Sheet1!A1:C9", "A12", "TestPivotTable")
pivot = pivots[pivotIndex]
pivot.add_field_to_area(PivotFieldType.ROW, "fruit")
pivot.add_field_to_area(PivotFieldType.COLUMN, "year")
pivot.add_field_to_area(PivotFieldType.DATA, "amount")
pivot.pivot_table_style_type = PivotTableStyleType.PIVOT_TABLE_STYLE_MEDIUM10
pivot.refresh_data()
pivot.calculate_data()
slicers = sheet.slicers
slicerIndex = slicers.add(pivot, "E12", "fruit")
slicer = slicers[slicerIndex]
slicer.style_type = SlicerStyleType.SLICER_STYLE_LIGHT2
# Get SlicerCache object of current slicer
slicerCache = slicer.slicer_cache
# do your business
book.save("out.xlsx")

```

###  Guarda anche
* modulo [`aspose.cells.slicers`](..)
