Show / Hide Table of Contents

Constructor GroupLayer

GroupLayer()

Initializes a new instance of the GroupLayer class.

Declaration
public GroupLayer()
Remarks

Once the layer is created you will have to set the child layers by setting the Layers property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
Relevant samples
Group layers: Group a collection of layers together and toggle their visibility as a group.

GroupLayer(IEnumerable<Layer>)

Initializes a new instance of the GroupLayer class with child layers.

Declaration
public GroupLayer(IEnumerable<Layer> childLayers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Layer> childLayers

A collection of layers to combine into a group layer.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.14
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.