ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LayerCreationParams Class / ExpandedState Property

In This Topic
    ExpandedState Property (LayerCreationParams)
    In This Topic
    Gets and sets the layer expanded state. Default value is LayerExpandedState.Default meaning that the expanded state of the layer is set according to the layer type.
    Syntax
    Public Property ExpandedState As LayerExpandedState
    public LayerExpandedState ExpandedState {get; set;}
    Remarks
    On creation, some layer types are expanded by default (for example FeatureLayers, CatalogLayers, TopologyLayers); other layer types are collapsed by default (for example TinLayers, TerrainLayers, ParcelLayers).
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also