ArcGIS Pro 3.6 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 LayerExpandedState ExpandedState {get; set;}
    Public Property ExpandedState As LayerExpandedState
    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, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also