Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property ProtectSelection As Boolean
bool ProtectSelection { get; set; }
Property Value
Type: System.Boolean
true if Chart control elements cannot be selected; otherwise, false.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.