Class Popup
Represents a popup as a pair (GeoElement, PopupDefinition). This connects a Graphic or a Feature to the PopupDefinition defined by its containing layer.
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Popup
Remarks
Popups can be configured for individual layers in a map via a PopupDefinition.
Constructors
Name | Description |
---|---|
Popup(GeoElement, PopupDefinition) | Initializes a new instance of the Popup class. |
Properties
Name | Description |
---|---|
EvaluatedElements | Gets a collection of PopupElement objects evaluated asynchronously by EvaluateExpressionsAsync(). |
GeoElement | Gets the GeoElement of the pop-up. |
PopupDefinition | Gets the PopupDefinition associated with the popup. |
Symbol | Gets the popup's symbol. |
Title | Gets the popup's title. |
Methods
Name | Description |
---|---|
EvaluateExpressionsAsync() | Asynchronously evaluates all expressions available at Expressions or at PopupExpression. The expression can include Arcade FeatureSet functions, which need to be evaluated asynchronously. |
Finalize() | Finalizer for the PopUp class |
FromGeoElement(GeoElement) | Creates a new popup from a GeoElement. |
GetFormattedValue(PopupField) | Returns the formatted value of the popup field. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |