共用方式為


ChartSheetBase.ShowValueFieldButtons Property

Definition

Gets or sets whether to display the value field buttons on a PivotChart that is displayed on the ChartSheetBase. This property can be used only in Excel 2010 projects.

public:
 property bool ShowValueFieldButtons { bool get(); void set(bool value); };
public bool ShowValueFieldButtons { get; set; }
member this.ShowValueFieldButtons : bool with get, set
Public Property ShowValueFieldButtons As Boolean

Property Value

true to display the value field buttons on the specified PivotChart; otherwise, false.

Exceptions

This property is used in an Excel 2007 project.

Remarks

Set the ShowValueFieldButtons property to true to display the Value field buttons on the specified PivotChart that is displayed on the ChartSheetBase. Set the property to false to hide the button.

The ShowValueFieldButtons property corresponds to the Show Value 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.

Applies to