Class WmsSublayer
Describes a sublayer of WmsLayer.
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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |