Show / Hide Table of Contents

Class WmsSublayer

Describes a sublayer of WmsLayer.

Inheritance
System.Object
WmsSublayer
Implements
ILayerContent
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.