Свойство | Type | Description | |
---|---|---|---|
BindingValueProperty | DependencyProperty | ||
FieldNameProperty | DependencyProperty | ||
GeodatabaseFeatureProperty | DependencyProperty | ||
InputTemplateProperty | DependencyProperty | ||
IsReadOnlyProperty | DependencyProperty | ||
ReadOnlyTemplateProperty | DependencyProperty | ||
SelectorTemplateProperty | DependencyProperty | ||
ValidationExceptionProperty | DependencyProperty |
Méthode | Description | |
---|---|---|
FeatureDataField ( ) : System |
Initializes a new instance of the FeatureDataField class.
|
|
OnApplyTemplate ( ) : void |
Méthode | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
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 |
protected public OnApplyTemplate ( ) : void | ||
Résultat | void |
public static DependencyProperty BindingValueProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty FieldNameProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty GeodatabaseFeatureProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty InputTemplateProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty IsReadOnlyProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ReadOnlyTemplateProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty SelectorTemplateProperty | ||
Résultat | DependencyProperty |