ProtectSelection Property (2007 System)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Chart.ProtectSelection Property (2007 System)

Gets or sets a value that indicates whether selection of Chart control elements is prevented.

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

public bool ProtectSelection { get; set; }

Property Value

Type: System.Boolean
true if Chart control elements cannot be selected; otherwise, false.

When this property is true, shapes cannot be added to the Chart control, and the Click and DoubleClick events for Chart control elements do not occur.

Show:
© 2016 Microsoft