Slicer.DisplayHeader Property

Gets or sets whether the header that displays the slicer Caption is visible.

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

Syntax

'Declaration
Property DisplayHeader As Boolean
    Get
    Set
'Usage
Dim instance As Slicer
Dim value As Boolean

value = instance.DisplayHeader

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

Property Value

Type: System.Boolean
true if the header that displays the slicer Caption is visible; otherwise, false. The default is true.

Remarks

Read/write.

true if the header is visible; otherwise false. The default value is true.

See Also

Reference

Slicer Interface

Slicer Members

Microsoft.Office.Interop.Excel Namespace