PivotField.AllItemsVisible Property

Retrieves a value that indicates whether or not any manual filtering is applied to the Pivotfield. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property AllItemsVisible As Boolean
    Get
'Usage
Dim instance As PivotField
Dim value As Boolean

value = instance.AllItemsVisible
bool AllItemsVisible { get; }

Property Value

Type: System.Boolean
Boolean

Remarks

This property provides a simple way to easily check whether manual filtering is applied to a PivotField or CubeField.

For OLAP PivotTables, this property is available only for the CubeField object. Trying to get or set it on the PivotField object in an OLAP PivotTable will return a run-time error.

For PivotTables, this property is available for the PivotField object.

The default value is True. This property is automatically set to True when no manual filtering is applied (independent of whether the IncludeNewItemsInFilter property is True or False). It is automatically set to False when any manual filtering is applied (independent of whether the IncludeNewItemsInFilter property is True or False).

This property directly reflects the state of the Select All check box in the filter drop-down list for the PivotField or CubeField.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace