Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.15 KB

feature-data-field.md

File metadata and controls

33 lines (23 loc) · 1.15 KB

FeatureDataField

Display and optionally allow editing of a single attribute of a feature.

FeatureDataField

Note: In the above screenshot, the FeatureDataField is used to render individual cells in the table. FeatureDataField alone does not implement attribute table functionality.

Features

  • Binds to a Feature.
  • Exposes a ValidationException property, which can be used to check for errors in an editing scenario.
  • Supports extended customization via the ReadOnlyTemplate, SelectorTemplate, and InputTemplate properties.

Usage

UWP/WinUI:

<esri:FeatureDataField xmlns:esri="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
                       Feature="{Binding SelectedFeature}"
                       FieldName="objectid"
                       IsReadOnly="True" />

WPF:

<esri:FeatureDataField xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
                       Feature="{Binding SelectedFeature}"
                       FieldName="objectid"
                       IsReadOnly="True" />