Click or drag to resize

SimpleLabelExpression Class

An expression script using the Simple REST language.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.Mapping.LabelingLabelExpression
    Esri.ArcGISRuntime.Mapping.LabelingSimpleLabelExpression

Namespace:  Esri.ArcGISRuntime.Mapping.Labeling
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public class SimpleLabelExpression : LabelExpression

The SimpleLabelExpression type exposes the following members.

Constructors
  NameDescription
Public methodSimpleLabelExpression
Initializes a new instance of the SimpleLabelExpression class with an empty expression script.
Public methodSimpleLabelExpression(String)
Initializes a new instance of the SimpleLabelExpression class with a specified Simple expression script.
Top
Properties
  NameDescription
Public propertyExpression
Gets or sets the label expression script string.
(Inherited from LabelExpression.)
Top
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.

See Also