_Chart.ShowLegendFieldButtons Property
Gets or sets whether to display legend field buttons on a PivotChart.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ShowLegendFieldButtons As Boolean
Get
Set
'Usage
Dim instance As _Chart
Dim value As Boolean
value = instance.ShowLegendFieldButtons
instance.ShowLegendFieldButtons = value
bool ShowLegendFieldButtons { get; set; }
Property Value
Type: System.Boolean
true if legend field buttons on a PivotChart should be displayed; otherwise, false.
Remarks
Read/write.
Set the ShowLegendFieldButtons property to true to display legend field buttons on the specified PivotChart. Set the property to false to hide the buttons.
The ShowLegendFieldButtons property corresponds to the Show Legend Field Buttons command on the Field Buttons drop-down list of the Analyze tab, which is available when a PivotChart is selected.