Show / Hide Table of Contents

Class PopupAttachment

Attachment helper class used in conjunction with the PopupAttachmentManager.

Inheritance
System.Object
PopupAttachment
Implements
ILoadable
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class PopupAttachment : ILoadable, INotifyPropertyChanged

Properties

Name Description
Attachment

Gets the underlying attachment that this object wraps and helps with.

ContentType

Gets the MIME content type of the attachment.

EditState

Gets the current edit state of the attachment.

Filename

Gets the local temporary filepath where we store the attachment once it's loaded.

IsLocal

Gets a value indicating whether or not "loading" (fetching the data) will cause it to go over the network. false if the loading will cause a network request. true if it just needs to pull the data from a database.

LoadError

Gets the System.Exception associated with the last load error.

LoadStatus

Gets the load status.

Name

Gets the name of the attachment.

Size

Gets the size in bytes of the original attachment.

Type

Gets the type of the attachment.

Methods

Name Description
CancelLoad()

Cancel loading metadata for the object.

CreateFullImageAsync()

Generates a runtime image. Causes the attachment to load if necessary.

CreateThumbnailAsync(Int32, Int32)

Generates a thumbnail for the attachment. Causes the attachment to load if necessary.

Finalize()

Finalizes an instance of the PopupAttachment class. Cleans up temporary files.

LoadAsync()

Load the metadata for the object asynchronously.

RetryLoadAsync()

Loads or retries loading metadata for the object asynchronously.

Events

Name Description
Loaded

Event that is raised when the object is done loading.

LoadStatusChanged

Event that is raised when the LoadStatus property changes.

PropertyChanged

Occurs when a property value changes.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.