Show / Hide Table of Contents

Class ArcGISSublayer

The base class for ArcGIS sublayer classes ArcGISMapImageSublayer and ArcGISTiledSublayer.

Inheritance
Object
ArcGISSublayer
ArcGISMapImageSublayer
ArcGISTiledSublayer
SubtypeSublayer
Implements
INotifyPropertyChanged
ILayerContent
IPopupSource
ILoadable
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 abstract class ArcGISSublayer : INotifyPropertyChanged, ILayerContent, IPopupSource, ILoadable

Properties

Name Description
CanChangeVisibility

Gets a value indicating whether the sublayer content's visibility can be changed.

DefinitionExpression

Gets the definition expression of this sublayer.

Id

Gets an id that uniquely identifies this sublayer instance.

IsPopupEnabled

Gets or sets a value indicating whether the PopupDefinition defined is enabled.

IsVisible

Gets or sets a value indicating whether the sublayer content is visible.

LabelsEnabled

Gets a value indicating whether labels should be displayed on this sublayer.

LoadError

Gets the Exception associated with the last load error.

LoadStatus

Gets the load status.

MapServiceSublayerInfo

Gets this sublayer's metadata.

MaxScale

Gets the maximum scale at which this sublayer is visible.

MinScale

Gets the minimum scale at which this sublayer is visible.

Name

Gets the name of the sublayer.

Opacity

Gets the opacity of this sublayer.

PopupDefinition

Gets or sets the popup definition for the sublayer.

Renderer

Gets this sublayer's Renderer.

ScaleSymbols

Gets a value indicating whether this sublayer renders its symbols based on scale.

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.

Sublayers

Gets the sublayers of this sublayer.

Methods

Name Description
CancelLoad()

Cancel loading metadata for the object.

Clone()

Clones this instance of the ArcGISSublayer and its members.

GetLegendInfosAsync()

Asynchronously retrieves a read-only list of LegendInfo objects.

IsVisibleAtScale(Double)

Retrieves the sublayer's visibility at the specified scale.

LoadAsync()

Load the metadata for the object asynchronously.

RetryLoadAsync()

Load the metadata for the object asynchronously.

Events

Name Description
Loaded

Event that is raised when the object is done loading.

LoadStatusChanged

Event that is raised when the LoadStatus property changes.

Name Description
INotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

See Also

ArcGISMapImageSublayer
ArcGISTiledSublayer

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.0 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.1

Relevant samples

Change sublayer renderer: Apply a renderer to a sublayer.
Identify layers: Identify features in all layers in a map. MapView supports identifying features across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.
In This Article
Back to top Copyright © 2022 Esri.