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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.5 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.5 - 200.8 |
| Xamarin.Android | 100.5 - 100.15 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 200.8 |
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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.5 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.5 - 200.8 |
| Xamarin.Android | 100.5 - 100.14 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 200.8 |