Class PopupDefinition
Defines the appearance and format of popups. Also includes which fields to display.
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class PopupDefinition
Constructors
| Name | Description |
|---|---|
| PopupDefinition() | Initializes a new instance of the PopupDefinition class. |
Properties
| Name | Description |
|---|---|
| AllowDelete | Gets or sets a value indicating whether the popup should allow the associated GeoElement to be deleted. |
| AllowEdit | Gets or sets a value indicating whether the popup should allow the associated GeoElement to be edited. |
| AllowEditGeometry | Gets or sets a value indicating whether the popup should allow the geometry of the associated GeoElement to be edited. |
| Description | Gets or sets a string that appears in the body of the popup window as a description. |
| Elements | Gets a mutable, ordered list of pop-up elements. |
| Expressions | Gets a collection of PopupExpression defining the various arcade expressions on the popup. |
| Fields | Gets a mutable list of PopupField which defines how each field participates in the pop-up window. |
| Media | Gets a mutable list of PopupMedia which defines images and charts displayed in the pop-up window. |
| RelatedFeaturesDefinition | Gets or sets the related features definition. |
| ShowAttachments | Gets or sets a value indicating whether attachments will be loaded for layers with attachments. |
| ShowEditSummary | Gets or sets a value indicating whether the popup should display the edit summary of the associated GeoElement. |
| Title | Gets or sets a string that defines the popup's title. |
Methods
| Name | Description |
|---|---|
| FromGeoElement(GeoElement) | Creates a new popup definition from a geo element. |
| FromPopupSource(IPopupSource) | Creates a new popup definition from a popup source. |
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 |