-
Notifications
You must be signed in to change notification settings - Fork 121
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 forFieldName
-
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 theValue
doesn't pass validation requirement. -
ReadOnlyTemplate
- ThisDataTemplate
is used if theIsReadOnly
is true or if theFieldInfo
defines the field as readonly. -
InputTemplate
- ThisDataTemplate
is used for standard input for string, number, and datetime types. -
SelectorTemplate
- ThisDataTempalte
is used whenFieldInfo
defines aCodedValueDomain
.