Partager via


PivotTable.DisplayFieldCaptions Property

Controls whether or not filter buttons and PivotField captions for rows and columns are displayed in the grid. Read/write.

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

Syntax

'Declaration
Property DisplayFieldCaptions As Boolean
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As Boolean

value = instance.DisplayFieldCaptions

instance.DisplayFieldCaptions = value
bool DisplayFieldCaptions { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

The default value is True.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace