Class ArcGISSublayer
The base class for ArcGIS sublayer classes ArcGISMapImageSublayer and ArcGISTiledSublayer.
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
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.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |