Class MediaPopupElement
A pop-up element that displays the media (images and charts) of a GeoElement in a pop-up.
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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.14 - 200.8 |
| .NET | 100.14 - 200.8 |
| .NET Windows | 100.14 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.14 - 200.8 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 - 200.8 |