Partager via


ChartSheet.ProtectSelection Property

Definition

Gets or sets a value that indicates whether ChartSheet 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 ChartSheet elements cannot be selected.

Remarks

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

Applies to