編輯

共用方式為


Slicer.Locked Property

Definition

Gets or sets whether the specified slicer can be modified when the sheet that contains it is protected.

public:
 property bool Locked { bool get(); void set(bool value); };
public bool Locked { get; set; }
Public Property Locked As Boolean

Property Value

true if the specified slicer can be modified when the sheet that contains it is protected; otherwise, false. The default is true

Remarks

Read/write.

true if the slicer is locked when the sheet is protected. false if the slicer can be modified when the sheet is protected. The default value is true.

Applies to