Class AnnotationSublayer
Allows you to interrogate the properties of a sublayer within an AnnotationLayer and to change the visibility of the sublayer.
Inheritance
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class AnnotationSublayer : ILayerContent, INotifyPropertyChanged
Remarks
You can change the sublayer's visibility and interrogate its read-only properties, such as the maximum and minimum scale, opacity, and definition expression.
Use the
Properties
Name | Description |
---|---|
CanChangeVisibility | Gets a value indicating whether the sublayer's visibility can be changed. |
DefinitionExpression | Gets the |
IsVisible | Gets or sets a value indicating whether the sublayer content is visible. |
MaxScale | Gets the maximum scale at which to display the Sublayer. |
MinScale | Gets the minimum scale at which to display the Sublayer. |
Name | Gets the title of this Annotation sublayer. |
Opacity | Gets the opacity of the annotation text associated with this Sublayer. |
ScaleSymbols | Gets a value indicating whether the annotation text scales with the MapView. |
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. |
SublayerId | Gets a non-negative number representing Id of the AnnotationSublayer within its AnnotationLayer. |
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. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |