Show / Hide Table of Contents

Class AttachmentsPopupElement

A pop-up element that displays the attachments of a GeoElement in a pop-up.

Inheritance
System.Object
PopupElement
AttachmentsPopupElement
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 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 false, the list is empty.

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

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.