Skip to content

FeatureDataField Control

Morten Nielsen edited this page Mar 14, 2014 · 2 revisions

Set the GeodatabaseFeature property to the GeodatabaseFeature you want to work with, then set the FieldName property with the name of the field you would like to edit or display.

  <esriTK:FeatureDataField GeodatabaseFeature="{Binding MyGdbFeature}" FieldName="MyField" IsReadOnly="True" />

FeatureDataField Properties:

  • GeodatabaseFeature - GeodatabaseFeature that contains information used for valiation requirements and defines UI for FieldName
  • FieldName - The name of the field found in GdbFeature.Attributes that UI will be created for.
  • IsReadOnly - Allows user to make an editable field readonly. Doesn't allow readonly fields to become editable.
  • Value - The current value of the FeatureDataField control.
  • ValidationException - Exception property that hold any messaged generated when the Value doesn't pass validation requirement.
  • ReadOnlyTemplate - This DataTemplate is used if the IsReadOnly is true or if the FieldInfo defines the field as readonly.
  • InputTemplate - This DataTemplate is used for standard input for string, number, and datetime types.
  • SelectorTemplate - This DataTempalte is used when FieldInfo defines a CodedValueDomain.