ArcadeLabelExpression QML Type

An expression script using the Arcade language. More...

Import Statement: import Esri.ArcGISRuntime 100.13
Since: Esri.ArcGISRuntime 100.11




Detailed Description

The label arcade expression expects to hold a valid, Arcade script and to be read and evaluated by an Arcade expression interpreter. An example expression that combines text with a field value is

"State: " + $feature.State_Name

Note that quotes are needed around the literal text. See https://developers.arcgis.com/arcade/ for full documentation on the Arcade scripting language and its function library.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property

Property Documentation

[default] arcadeExpression : ArcadeExpression

An ArcadeExpression containing the Arcade expression script to use.

The expression is expected to be a complete, self-contained Arcade script that calculates a text string.

The ArcadeExpression::expression property of arcadeExpression is the same script string as LabelExpression::expression. Changing one will change the other.

Signal Documentation


Emitted when the arcadeExpression property changes.

Note: The corresponding handler is onArcadeExpressionChanged.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.