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.
Inheritance
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. |
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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |