Class FeatureForm
Defines the user interface (form configuration) to display when editing a feature.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Mapping.FeatureForms
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class FeatureForm : INotifyPropertyChanged
Remarks
A web map may define forms for editing features in a feature layer. A layer's form definition is available from the FeatureFormDefinition and can be used to create a feature form.
Constructors
| Name | Description |
|---|---|
| FeatureForm(ArcGISFeature) | Initializes a new instance of the FeatureForm class that describes the user interface for editing the specified feature. |
| FeatureForm(ArcGISFeature, FeatureFormDefinition) | Initializes a new instance of the FeatureForm class that describes the user interface for editing the specified feature. |
Properties
| Name | Description |
|---|---|
| DefaultAttachmentsElement | Gets a default AttachmentsFormElement for displaying and editing the feature's attachments |
| Definition | Gets the feature form definition used to define the user interface for the form. |
| Description | Gets a description of the form. |
| Elements | Gets an ordered list of the elements contained by the form. |
| Feature | Gets the feature displayed in the form. |
| HasEdits | Gets a value indicating whether edits have been made to this FeatureForm. |
| PreserveFieldValuesWhenHidden | Gets a value indicating whether the value for a previously visible FieldFormElement is retained when it (or its parent) is hidden. |
| Title | Gets the form title. |
| ValidationErrors | Gets the results of validating the values of FieldFormElements in Elements against their constraints. |
Methods
| Name | Description |
|---|---|
| DiscardEdits() | Discards edits to Elements and their associated Attributes. |
| EvaluateExpressionsAsync() | Asynchronously evaluates all form expressions. |
| FinishEditingAsync() | Saves edits made using the FeatureForm to the database. |
| Name | Description |
|---|---|
| INotifyPropertyChanged.PropertyChanged |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.4 - 200.8 |
| .NET | 200.4 - 200.8 |
| .NET Windows | 200.4 - 200.8 |
| .NET Android | 200.4 - 200.8 |
| .NET iOS | 200.4 - 200.8 |
| .NET Framework | 200.4 - 200.8 |
| UWP | 200.4 - 200.8 |