Share via


ChartSheetBase.ProtectSelection Property

Definition

Gets or sets a value that indicates whether ChartSheetBase elements cannot be selected.

public:
 property bool ProtectSelection { bool get(); void set(bool value); };
public bool ProtectSelection { get; set; }
member this.ProtectSelection : bool with get, set
Public Property ProtectSelection As Boolean

Property Value

true if ChartSheetBase elements cannot be selected.

Remarks

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

Applies to