Show / Hide Table of Contents

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
System.Object
Popup
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.

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.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.