Show / Hide Table of Contents

Class PopupDefinition

Defines the appearance and format of popups. Also includes which fields to display.

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

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2021 Esri.