Partager via


PivotField.ShowingInAxis Property

Indicates if the PivotField is currently visible in the PivotTable or not. Read-only.

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

Syntax

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

value = instance.ShowingInAxis
bool ShowingInAxis { get; }

Property Value

Type: System.Boolean
Boolean

Remarks

The property returns True if the PivotField is currently visible and returns False if is not currently visible. The visibility of the PivotField is determined by whether or not the PivotField caption is visible in the PivotTable in tabular (non-compact) form.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace