Class SimpleLabelExpression
An expression script using the Simple REST language.
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)
Namespace: Esri.ArcGISRuntime.Mapping.Labeling
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class SimpleLabelExpression : LabelExpression
Remarks
The label Simple expression expects to hold a legal, Simple script and to be read and evaluated by a Simple expression
interpreter. An example expression that combines text with a field value is: "State: " CONCAT [State_Name].
Note that quotes are needed around the literal text. See https://developers.arcgis.com/documentation/common-data-types/labeling-objects.htm for full documentation on the labelExpression syntax and functions.
Constructors
| Name | Description |
|---|---|
| SimpleLabelExpression() | Initializes a new instance of the SimpleLabelExpression class with an empty expression script. |
| SimpleLabelExpression(String) | Initializes a new instance of the SimpleLabelExpression class with a specified Simple expression script. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.11 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.11 - 100.15 |
| .NET 5 | 100.11 - 100.12 |
| .NET Core 3.1 | 100.11 - 100.12 |
| Xamarin.Android | 100.11 - 100.15 |
| Xamarin.iOS | 100.11 - 100.15 |
| UWP | 100.11 - 100.15 |