Edit

Share via


SlicerCache.ShowAllItems Property

Definition

Gets or sets whether slicers connected to the specified slicer cache display items that have been deleted from in the corresponding PivotCache.

public:
 property bool ShowAllItems { bool get(); void set(bool value); };
public bool ShowAllItems { get; set; }
Public Property ShowAllItems As Boolean

Property Value

true if slicers connected to the specified slicer cache display items that have been deleted from in the corresponding PivotCache; otherwise, false. The default is true.

Remarks

Read/write.

When the ShowAllItems property is set to true (the default), items that have been deleted from the source data are displayed in the slicers connected to the specified slicer cache. The ShowAllItems property corresponds to the setting of the Show items deleted from the data source check box in the Slicer Settings dialog box.

The ShowAllItems property applies only to slicers that are based on workbook ranges or lists (SlicerCache.SourceType = xlDatabase), or to slicers that are based on relational data sources (SlicerCache.SourceType = xlExternal and SlicerCache.OLAP = false). Attempting to set the ShowAllItems property for slicers that are connected to PivotTables based on external OLAP data sources (SlicerCache.OLAP = true) generates a run-time error.

Applies to