Class WmsSublayer
Describes a sublayer of WmsLayer.
Inheritance
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class WmsSublayer : ILayerContent, INotifyPropertyChanged
Remarks
WmsSublayer provides data necessary for building a Table of Contents. Only named WMS sublayers have an associated WmsSublayer. This list can be obtained from Sublayers property of a loaded layer.
Properties
| Name | Description |
|---|---|
| CanChangeVisibility | Gets a value indicating whether the sublayer's visibility can be changed. |
| CurrentStyle | Gets or sets the name of this sublayer's current style. |
| IsVisible | Gets or sets a value indicating whether the sublayer content is visible. |
| Name | Gets the title of this WMS sublayer. |
| ShowInLegend | Gets or sets a value indicating whether the sublayer participates in the legend. |
| SublayerContents | Gets a read-only collection of ILayerContent for this sublayer. |
| SublayerInfo | Gets a WmsLayerInfo object with metadata about this sublayer. |
Methods
| Name | Description |
|---|---|
| GetLegendInfosAsync() | Asynchronously retrieves a read-only list of LegendInfo objects. |
| IsVisibleAtScale(Double) | Retrieves the sublayer's visibility at the specified scale. |
| Name | Description |
|---|---|
| INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 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.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.2.1 - 200.8 |