Class AttachmentsFormElement
A form element that holds one or more attachments on a feature.
Implements
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, |
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 |
FetchAttachmentsAsync() | Fetches the attachments from the Feature and populates Attachments. Attachments are not re-fetched if they have already been fetched. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |