ChartSheet.ProtectSelection Property

Gets or sets a value that indicates whether Microsoft.Office.Tools.Excel.ChartSheet elements cannot be selected.

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

Syntax

'Declaration
Property ProtectSelection As Boolean
    Get
    Set
bool ProtectSelection { get; set; }

Property Value

Type: System.Boolean
true if Microsoft.Office.Tools.Excel.ChartSheet elements cannot be selected.

Remarks

When this property is true, shapes cannot be added to the Microsoft.Office.Tools.Excel.ChartSheet.

.NET Framework Security

See Also

Reference

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace