ArcGIS Pro 2.3 API Reference Guide
IsLocked Property (Element)

ArcGIS.Desktop.Layouts Namespace > Element Class : IsLocked Property
Gets the locked state of an element.
Syntax
Public Overridable ReadOnly Property IsLocked As Boolean
public virtual bool IsLocked {get;}

Property Value

Type: Boolean
Remarks
Returns true if an element is checked on in the table of contents.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Element Class
Element Members