C# Класс Esri.ArcGISRuntime.Toolkit.Controls.FeatureDataField

Наследование: Control, INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BindingValueProperty DependencyProperty
FieldNameProperty DependencyProperty
GeodatabaseFeatureProperty DependencyProperty
InputTemplateProperty DependencyProperty
IsReadOnlyProperty DependencyProperty
ReadOnlyTemplateProperty DependencyProperty
SelectorTemplateProperty DependencyProperty
ValidationExceptionProperty DependencyProperty

Открытые методы

Метод Описание
FeatureDataField ( ) : System

Initializes a new instance of the FeatureDataField class.

OnApplyTemplate ( ) : void

Защищенные методы

Метод Описание
OnApplyTemplate ( ) : void

Приватные методы

Метод Описание
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

Описание методов

FeatureDataField() публичный Метод

Initializes a new instance of the FeatureDataField class.
public FeatureDataField ( ) : System
Результат System

OnApplyTemplate() защищенный публичный Метод

protected public OnApplyTemplate ( ) : void
Результат void

Описание свойств

BindingValueProperty публичное статическое свойство

DependencyProperty for BindingValue.
public static DependencyProperty BindingValueProperty
Результат DependencyProperty

FieldNameProperty публичное статическое свойство

DependencyProperty for FieldName.
public static DependencyProperty FieldNameProperty
Результат DependencyProperty

GeodatabaseFeatureProperty публичное статическое свойство

DependencyProperty for GeodatabaseFeature.
public static DependencyProperty GeodatabaseFeatureProperty
Результат DependencyProperty

InputTemplateProperty публичное статическое свойство

DependencyProperty for InputTemplate.
public static DependencyProperty InputTemplateProperty
Результат DependencyProperty

IsReadOnlyProperty публичное статическое свойство

DependencyProperty for IsReadOnly.
public static DependencyProperty IsReadOnlyProperty
Результат DependencyProperty

ReadOnlyTemplateProperty публичное статическое свойство

DependencyProperty for ReadOnlyTemplate.
public static DependencyProperty ReadOnlyTemplateProperty
Результат DependencyProperty

SelectorTemplateProperty публичное статическое свойство

DependencyProperty for SelectorTemplate.
public static DependencyProperty SelectorTemplateProperty
Результат DependencyProperty

ValidationExceptionProperty публичное статическое свойство

DependencyProperty for ValidationException.
public static DependencyProperty ValidationExceptionProperty
Результат DependencyProperty