Partager via


PivotTable.PageFieldStyle Property

Returns or sets the style used in the bound page field area. The default value is a null string (no style is applied by default). Read/write String.

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

Syntax

'Declaration
Property PageFieldStyle As String
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As String

value = instance.PageFieldStyle

instance.PageFieldStyle = value
string PageFieldStyle { get; set; }

Property Value

Type: System.String

Remarks

This style is used as the default style for the background area, and it’s applied before any user formatting. Cells vacated when a field is pivoted from the page field area to another location retain this style.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace