ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Element Class / IsLocked Property

In This Topic
    IsLocked Property (Element)
    In This Topic
    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 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also