Class AttachmentsPopupElement
A pop-up element that displays the attachments of a GeoElement in a pop-up.
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class AttachmentsPopupElement : PopupElement
Remarks
Attachments can be shown as a preview
that fits into the width of the pop-up or as a link. The format of
attachments in the pop-up is determined by the DisplayType.
If the geoelement has more than one attachment, they are displayed in the same order as
the Attachments list.
Constructors
Name | Description |
---|---|
AttachmentsPopupElement(PopupAttachmentsDisplayType) | Initializes a new instance of the AttachmentsPopupElement class with the given PopupAttachmentsDisplayType. |
Properties
Name | Description |
---|---|
Attachments | Gets the list of the geoelement's attachments. If attachments haven't been fetched
or the IsEvaluated value is |
Description | Gets or sets a string value describing the popup element in detail. The value can be an empty string. |
DisplayType | Gets or sets the value that indicates how to display the attachments. |
Title | Gets or sets a string value indicating what the element represents. The value can be an empty string. |
Methods
Name | Description |
---|---|
GetAttachmentsAsync(CancellationToken) | Fetches the attachments from the Feature, creates PopupAttachment objects from them, and populates Attachments. Attachments are not re-fetched if they have already been fetched. |
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 |