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
Implements
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Popup : INotifyPropertyChanged
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. |
| UserInput | Gets or sets the geometry of the click or tap location that invoked the popup. |
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. |
| Name | Description |
|---|---|
| INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |