_Chart.ProtectSelection Property
True if chart elements cannot be selected.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ProtectSelection As Boolean
Get
Set
'Usage
Dim instance As _Chart
Dim value As Boolean
value = instance.ProtectSelection
instance.ProtectSelection = value
bool ProtectSelection { get; set; }
Property Value
Type: System.Boolean
Remarks
When this property is True, shapes cannot be added to the chart, and the Click and DoubleClick events for chart elements don’t occur.