layout: default title: ExpressionPopupContent parent: Core Classes —



ExpressionPopupContent Class

An ExpressionContent element allows you to define a popup content element with an Arcade expression. The expression
must evaluate to a dictionary representing a TextContent, FieldsContent, or a MediaContent popup element as defined
in the Popup Element web map specification.
Expressions defining popup content typically use the attributes property of an element to reference values
calculated within the expression in a table or a chart.
This content element is designed for advanced scenarios where content in charts, tables, or rich text elements is
based on logical conditions. For example, if data in one or more fields is empty, you can use this element to
dynamically create a table consisting only of fields containing valid data values. You can also use this element to
create charts or other content types consisting of aggregated data values. This can be especially useful in cluster
ArcGIS Maps SDK for JavaScript

public class ExpressionPopupContent : dymaptic.GeoBlazor.Core.Components.Popups.PopupContent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PopupContent 🡒 ExpressionPopupContent


ExpressionPopupContent() Constructor

Parameterless constructor for use as a razor component.

public ExpressionPopupContent();

ExpressionPopupContent(ElementExpressionInfo) Constructor

Constructor for creating a ExpressionPopupContent in code.

public ExpressionPopupContent(dymaptic.GeoBlazor.Core.Components.Popups.ElementExpressionInfo? expressionInfo);


expressionInfo ElementExpressionInfo

Contains the Arcade expression used to create a popup content element. See the ElementExpressionInfo documentation


ExpressionPopupContent.ExpressionInfo Property

Contains the Arcade expression used to create a popup content element. See the ElementExpressionInfo documentation
for details and examples for how to create these expressions.

public dymaptic.GeoBlazor.Core.Components.Popups.ElementExpressionInfo? ExpressionInfo { get; set; }

Property Value


ExpressionPopupContent.Type Property

The type of Popup Content

public override string Type { get; }

Property Value