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.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |
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.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.14 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |