共用方式為


ControlSite.Enabled Property

Gets or sets a value that indicates whether the ControlSite is enabled.

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

Syntax

'Declaration
Property Enabled As Boolean
bool Enabled { get; set; }

Property Value

Type: System.Boolean
true if the ControlSite is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace