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

Inheritance: Control, INotifyPropertyChanged
Afficher le fichier Open project: Esri/arcgis-toolkit-dotnet Class Usage Examples

Méthodes publiques

Свойство Type Description
BindingValueProperty DependencyProperty
FieldNameProperty DependencyProperty
GeodatabaseFeatureProperty DependencyProperty
InputTemplateProperty DependencyProperty
IsReadOnlyProperty DependencyProperty
ReadOnlyTemplateProperty DependencyProperty
SelectorTemplateProperty DependencyProperty
ValidationExceptionProperty DependencyProperty

Méthodes publiques

Méthode Description
FeatureDataField ( ) : System

Initializes a new instance of the FeatureDataField class.

OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnApplyTemplate ( ) : void

Private Methods

Méthode Description
AreEqual ( object o1, object o2 ) : bool
Cancel ( ) : void

Changes the current value back to the GeodatabaseFeature last saved value.

CommitChange ( object value ) : bool

Commits FeatureDataField value back to the GeodatabaseFeature.

ContentControl_GotFocus ( object sender, RoutedEventArgs e ) : void
ContentControl_LostFocus ( object sender, RoutedEventArgs e ) : void
EmptyStringToNull ( object value ) : object
EnsureCorrectDataType ( object value ) : object

Tries to make sure that the value can be converted to the correct datatype if the input control works with a differnt datatype. i.e. Textbox works with string data.

GenerateInputField ( ) : void

Creates the InputTemplate.

GenerateReadonlyField ( ) : void

Create the ReadOnlyTemplate.

GenerateSelectorField ( ) : void

Creates the SelectorTemplate.

GetTextBoxChangedListener ( DependencyObject obj ) : TextBox
GoToState ( DependencyObject element, string state ) : bool

Helper method to parse the visual tree of the ContentControl to look VisualStatue that are defined for ValidationStates category.

OnBindingValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnFieldNamePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnGeodatabaseFeaturePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnInputTemplatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIsReadOnlyPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void
OnReadOnlyTemplatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnSelectorTemplatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTextBoxChangedListenerPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnValidationExceptionPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
Refresh ( ) : void

This method is used to create the UI for the FeatureDataField.

SetTextBoxChangedListener ( DependencyObject obj, TextBox value ) : void
TryValidationState ( FrameworkElement element, string stateName ) : bool

Attempts to look for a VisualStateGroup called "ValidationState" and invoke the Storyboard for the given visual state.

UpdateValidationState ( ) : void

Changes the validation state from betwenn Invalid and Valid.

ValueChangedCallback ( object value ) : void

Callback used to track when the value changes in one of the DataItem classes.

txtbox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

FeatureDataField() public méthode

Initializes a new instance of the FeatureDataField class.
public FeatureDataField ( ) : System
Résultat System

OnApplyTemplate() protected public méthode

protected public OnApplyTemplate ( ) : void
Résultat void

Property Details

BindingValueProperty public_oe static_oe property

DependencyProperty for BindingValue.
public static DependencyProperty BindingValueProperty
Résultat DependencyProperty

FieldNameProperty public_oe static_oe property

DependencyProperty for FieldName.
public static DependencyProperty FieldNameProperty
Résultat DependencyProperty

GeodatabaseFeatureProperty public_oe static_oe property

DependencyProperty for GeodatabaseFeature.
public static DependencyProperty GeodatabaseFeatureProperty
Résultat DependencyProperty

InputTemplateProperty public_oe static_oe property

DependencyProperty for InputTemplate.
public static DependencyProperty InputTemplateProperty
Résultat DependencyProperty

IsReadOnlyProperty public_oe static_oe property

DependencyProperty for IsReadOnly.
public static DependencyProperty IsReadOnlyProperty
Résultat DependencyProperty

ReadOnlyTemplateProperty public_oe static_oe property

DependencyProperty for ReadOnlyTemplate.
public static DependencyProperty ReadOnlyTemplateProperty
Résultat DependencyProperty

SelectorTemplateProperty public_oe static_oe property

DependencyProperty for SelectorTemplate.
public static DependencyProperty SelectorTemplateProperty
Résultat DependencyProperty

ValidationExceptionProperty public_oe static_oe property

DependencyProperty for ValidationException.
public static DependencyProperty ValidationExceptionProperty
Résultat DependencyProperty