Chart.ShowLegendFieldButtons Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether to display legend field buttons on a PivotChart.
public:
property bool ShowLegendFieldButtons { bool get(); void set(bool value); };
public bool ShowLegendFieldButtons { get; set; }
member this.ShowLegendFieldButtons : bool with get, set
Public Property ShowLegendFieldButtons As Boolean
Property Value
true
to display all legend field buttons on the specified PivotChart; otherwise, false
.
Exceptions
This property is used in an Excel 2007 project.
Remarks
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 in Excel, which is available when a PivotChart is selected.
Note
This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.