Class FeatureDataField
The FeatureDataField control is used to display or edit a single field attribute of an Feature.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_LayerLegendWinRTTypeDetails))]
public class FeatureDataField : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>
Constructors
| Name | Description |
|---|---|
| FeatureDataField() | Initializes a new instance of the FeatureDataField class. |
Fields
| Name | Description |
|---|---|
| BindingValueProperty | Identifies the BindingValue dependency property. |
| FeatureProperty | Identifies the Feature dependency property. |
| FieldNameProperty | Identifies the FieldName dependency property. |
| InputTemplateProperty | Identifies the InputTemplate dependency property. |
| IsReadOnlyProperty | Identifies the IsReadOnly dependency property. |
| ReadOnlyTemplateProperty | Identifies the ReadOnlyTemplate dependency property. |
| SelectorTemplateProperty | Identifies the SelectorTemplate dependency property. |
| ValidationExceptionProperty | Identifies the BindingValue dependency property. |
Properties
| Name | Description |
|---|---|
| BindingValue | Gets or sets the attribute value for field. |
| Feature | Gets or sets the Feature that owns the field attribute the schema and values of fields. |
| FieldName | Gets or sets the name of the attribute field that will be used to generate control. |
| InputTemplate | Gets or sets the template used for providing input when field is not bound to a coded-value domain. |
| IsReadOnly | Gets or sets a value indicating whether generated control will be read-only. |
| ReadOnlyTemplate | Gets or sets the template used when IsReadOnly is |
| SelectorTemplate | Gets or sets the template used when field is bound to a coded-value domain. |
| ValidationException | Gets the validation exception. |
Methods
| Name | Description |
|---|---|
| OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |
| OnValueChanged(object?, object?) | Called when an attribute value has changed. |
| OnValueChanging(object?, object?) | Called when an attribute value is about to change. |
Events
| Name | Description |
|---|---|
| ValueChanged | Occurs when the field attribute value has changed and committed back to the feature. |
| ValueChanging | Occurs when the field attribute value has changed but has not yet been committed back to the feature. |