Show / Hide Table of Contents

Class AttachmentsFormElement

A form element that holds one or more attachments on a feature.

Inheritance
System.Object
FormElement
AttachmentsFormElement
Implements
System.ComponentModel.INotifyPropertyChanged
FormElement.Description
FormElement.IsVisible
FormElement.Label
FormElement.UnknownJson
FormElement.UnsupportedJson
FormElement.INotifyPropertyChanged.PropertyChanged
FormElement.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.FeatureForms
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class AttachmentsFormElement : FormElement, INotifyPropertyChanged
Remarks

The AttachmentsFormElement specifies how one or more attachments can participate in the form. When present in the form, the user has the ability to edit the list of attachments specific to the form element.

Properties

Name Description
Attachments

Gets all the current attachments. This is empty if attachments haven't yet been fetched.

IsEditable

Gets a value indicating whether the element is editable, false otherwise.

Keyword

Gets a string to identify the attachment(s).

Methods

Name Description
AddAttachment(String, String, Byte[])

Adds a new attachment to this AttachmentsFormElement.

AddAttachment(String, String, ReadOnlySpan<Byte>)

Adds a new attachment to this AttachmentsFormElement.

DeleteAttachment(FormAttachment)

Asynchronously deletes an attachment from the Feature

FetchAttachmentsAsync()

Fetches the attachments from the Feature and populates Attachments. Attachments are not re-fetched if they have already been fetched.

Applies to

TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.