Dela via


Chart.ProtectGoalSeek Property (2007 System)

Gets or sets a value that indicates whether modification of Chart control data points with mouse actions is prevented.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ProtectGoalSeek As Boolean
'Usage
Dim instance As Chart 
Dim value As Boolean 

value = instance.ProtectGoalSeek

instance.ProtectGoalSeek = value
[BrowsableAttribute(false)]
public bool ProtectGoalSeek { get; set; }
[BrowsableAttribute(false)]
public:
property bool ProtectGoalSeek {
    bool get ();
    void set (bool value);
}
public function get ProtectGoalSeek () : boolean 
public function set ProtectGoalSeek (value : boolean)

Property Value

Type: System.Boolean
true if the user cannot modify Chart control data points with mouse actions; otherwise false.

.NET Framework Security

See Also

Reference

Chart Class

Chart Members

Microsoft.Office.Tools.Excel Namespace