Share via


PivotField.DisplayAsTooltip Property

This property is used to specify whether or not a specific member property PivotField is displayed in tooltips. Read/write.

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

Syntax

'Declaration
Property DisplayAsTooltip As Boolean
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As Boolean

value = instance.DisplayAsTooltip

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

Property Value

Type: System.Boolean
Boolean

Remarks

Trying to get or set these properties for PivotFields that are not member properties will return a run-time error.

A given member property is displayed in tooltips when the DisplayAsTooltip property is set to True, and not displayed in tooltips when it is set to False. The default value is True.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace