Show / Hide Table of Contents

Class MediaPopupElement

A pop-up element that displays the media (images and charts) of a GeoElement in a pop-up.

Inheritance
object
PopupElement
MediaPopupElement
PopupElement.IsEvaluated
PopupElement.FromJson(string)
PopupElement.ToJson()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class MediaPopupElement : PopupElement
Remarks

The order in which images or charts are displayed in the pop-up is determined by the order of the PopupMedia objects in the Media list. If you want to display a chart, you must create an image of the chart by calling GenerateChartAsync(ChartImageParameters). Use the ChartImageParameters to specify the height and width of the ChartImage and whether it includes a legend.

Note that videos are only supported as attachments and can be viewed with AttachmentsPopupElement.

Constructors

Name Description
MediaPopupElement(IEnumerable<PopupMedia>)

Initializes a new instance of the MediaPopupElement class with the given collection of PopupMedia.

Properties

Name Description
Description

Gets or sets a string value describing the element in detail. The value can be an empty string.

Media

Gets a mutable list of PopupMedia which define images and charts displayed in the pop-up window.

Title

Gets or sets a string value indicating what the element represents. The value can be an empty string.

Applies to

TargetVersions
.NET Standard 2.0100.14 - 200.8
.NET100.14 - 300.0
.NET Windows100.14 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.14 - 200.8
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.