Show / Hide Table of Contents

Property EvaluatedElements

EvaluatedElements

Gets a collection of PopupElement objects evaluated asynchronously by EvaluateExpressionsAsync().

Declaration
public IReadOnlyList<PopupElement> EvaluatedElements { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<PopupElement>

A collection of PopupElement objects evaluated asynchronously by EvaluateExpressionsAsync().

Remarks

During the evaluation, each ExpressionPopupElement is replaced by the PopupElement returned by the Arcade expression and each placeholder is replaced by its value. If the Arcade expression returns a list of attributes to be used by the pop-up element, these attributes will be used by GetFormattedValue(PopupField).

The collection is empty until EvaluateExpressionsAsync() has been executed, and is cleared if EvaluateExpressionsAsync() is executed more than once. After evaluation, the order of the pop-up elements in the collection matches Elements and the order of elements shown in the pop-up window. If an ExpressionPopupElement fails to be evaluated, then it will be skipped in the collection. Use the collection of PopupExpressionEvaluation returned from EvaluateExpressionsAsync() to learn the cause of the error.

See Also
Elements
EvaluateExpressionsAsync()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.