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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |