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.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |
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 the child layers passed.
Declaration
public GroupLayer(IEnumerable<Layer> childLayers)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Layer> | childLayers | A collection of layers. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.5 - 200.5 |
Xamarin.Android | 100.5 - 100.14 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |