Class WebmapLabelExpression
The label Webmap expression expects to hold a legal Webmap script, to be read and evaluated by a Webmap expression interpreter.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping.Labeling
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class WebmapLabelExpression : LabelExpression
Remarks
An example expression that combines text with a field value is: State {State_Name}
.
Note that quotes are not needed around the literal text.
Warning: If expression using attributes which don't exist then no label will be produced.
This is distinct from the attribute existing but having a null
or empty value,
which can form part of the produced text label.
Constructors
Name | Description |
---|---|
WebmapLabelExpression() | Initializes a new instance of the WebmapLabelExpression class with an empty expression script. |
WebmapLabelExpression(String) | Initializes a new instance of the WebmapLabelExpression class with a specified Webmap expression script. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |