Show / Hide Table of Contents

Class WmsSublayer

Describes a sublayer of WmsLayer.

Inheritance
Object
WmsSublayer
Implements
ILayerContent
INotifyPropertyChanged
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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

Sublayers

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.2.1 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.2.1 - 100.15
iOS100.2.1 - 100.15
UWP100.2.1 - 200.1
In This Article
Back to top Copyright © 2022 Esri.