Class PopupAttachment
Attachment helper class used in conjunction with the PopupAttachmentManager.
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.
|
LoadError | Gets the 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() | Finalizer |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |