C# Class Esri.ArcGISRuntime.Toolkit.Controls.FeatureDataForm

Inheritance: Control
ファイルを表示 Open project: Esri/arcgis-toolkit-dotnet

Public Properties

Property Type Description
ApplyCommandProperty DependencyProperty
ContainerStyleProperty DependencyProperty
DateTimeTemplateProperty DependencyProperty
FieldsProperty DependencyProperty
GeodatabaseFeatureProperty DependencyProperty
HasEditsProperty DependencyProperty
HasErrorProperty DependencyProperty
InputTemplateProperty DependencyProperty
IsReadOnlyProperty DependencyProperty
LabelStyleProperty DependencyProperty
ResetCommandProperty DependencyProperty

Public Methods

Method Description
FeatureDataForm ( ) : System

Initializes a new instance of the FeatureDataForm class.

OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
ApplyChanges ( ) : void

This will save edit featue changes back to original feature.

AreEqual ( object o1, object o2 ) : bool
CanApplyChanges ( ) : bool

This will return true if the FeatureDataForm has changes and none of the changes are invalid.

CanReset ( ) : bool

This will return true if a change has been made to the edit feature.

CheckForError ( ) : bool
ControlOnPropertyChanged ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void

Watch FeatureDataField for changes to Value and ValidationException in order to know when SaveCommand and ResetCommand can be active.

CreateContainer ( ) : Panel

Creates a UI container for each field.

CreateControl ( GeodatabaseFeature feature, FieldInfo fieldInfo, bool isReadOnly ) : FrameworkElement

Creates a UI control for editing each field.

CreateLabel ( string labelText ) : FrameworkElement

Creates a UI label for each field

HasChanges ( ) : bool

Compares orignial GeodatabaseFeature to the clone GeodatabaseFeature to check for differences in attribute values.

OnContainerStylePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnDateTimeTemplatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnFieldsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnGeodatabaseFeaturePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnInputTemplatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIsReadOnlyPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnLabelStylePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
Refresh ( ) : void

Creates the UI of the entire control

Reset ( ) : void

This will override all edit feature changes back to the original feature values.

Method Details

FeatureDataForm() public method

Initializes a new instance of the FeatureDataForm class.
public FeatureDataForm ( ) : System
return System

OnApplyTemplate() protected public method

protected public OnApplyTemplate ( ) : void
return void

Property Details

ApplyCommandProperty public_oe static_oe property

The dependency property for the FeatureDataForm.ApplyCommand.
public static DependencyProperty ApplyCommandProperty
return DependencyProperty

ContainerStyleProperty public_oe static_oe property

The dependency property for the ContainerStyle property.
public static DependencyProperty ContainerStyleProperty
return DependencyProperty

DateTimeTemplateProperty public_oe static_oe property

The dependency property for the DateTimeTemplate property.
public static DependencyProperty DateTimeTemplateProperty
return DependencyProperty

FieldsProperty public_oe static_oe property

The dependency property for the Fields property.
public static DependencyProperty FieldsProperty
return DependencyProperty

GeodatabaseFeatureProperty public_oe static_oe property

The dependency property for GeodatabaseFeature.
public static DependencyProperty GeodatabaseFeatureProperty
return DependencyProperty

HasEditsProperty public_oe static_oe property

The dependency property for FeatureDataForm.HasEdits.
public static DependencyProperty HasEditsProperty
return DependencyProperty

HasErrorProperty public_oe static_oe property

The dependency property for FeatureDataForm.HasError.
public static DependencyProperty HasErrorProperty
return DependencyProperty

InputTemplateProperty public_oe static_oe property

The dependency property for the InputTemplate property.
public static DependencyProperty InputTemplateProperty
return DependencyProperty

IsReadOnlyProperty public_oe static_oe property

The dependency property for the IsReadOnly property.
public static DependencyProperty IsReadOnlyProperty
return DependencyProperty

LabelStyleProperty public_oe static_oe property

The dependency property for the LabelStyle property.
public static DependencyProperty LabelStyleProperty
return DependencyProperty

ResetCommandProperty public_oe static_oe property

The dependency property for the ResetCommand
public static DependencyProperty ResetCommandProperty
return DependencyProperty