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
System.Object
PopupElement
MediaPopupElement
PopupElement.IsEvaluated
PopupElement.FromJson(String)
PopupElement.ToJson()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 - 200.8
.NET Windows100.14 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.14 - 200.8
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.8
In This Article
Back to top Copyright © 2022 Esri.