Show / Hide Table of Contents

Class FeatureForm

Defines the user interface (form configuration) to display when editing a feature.

Inheritance
System.Object
FeatureForm
Implements
System.ComponentModel.INotifyPropertyChanged
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 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

TargetVersions
.NET Standard 2.0200.4 - 200.7
.NET200.4 - 200.7
.NET Windows200.4 - 200.7
.NET Android200.4 - 200.7
.NET iOS200.4 - 200.7
.NET Framework200.4 - 200.7
UWP200.4 - 200.7
In This Article
Back to top Copyright © 2022 Esri.