ArcGIS Pro 2.8 API Reference Guide
Locked Property (CIMElement)

ArcGIS.Core.CIM Namespace > CIMElement Class : Locked Property
Gets or sets a value indicating whether the element is locked. Each element in the contents pane has a lock icon. If the icon is shown as locked, you can not select that feature in the layout using the select tool.
Syntax
public bool Locked {get; set;}
Public Property Locked As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CIMElement Class
CIMElement Members