C# Class SuperMap.Web.Controls.FeatureDataForm

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Show file Open project: SuperMap/iClient-for-Silverlight

Public Properties

Property Type Description
CommitButtonContentProperty System.Windows.DependencyProperty
CommitButtonStyleProperty System.Windows.DependencyProperty
FeatureSourceProperty System.Windows.DependencyProperty
FeaturesLayerProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
LabelPositionProperty System.Windows.DependencyProperty
LabelStyleProperty System.Windows.DependencyProperty
TextBoxStyleProperty System.Windows.DependencyProperty

Public Methods

Method Description
ApplyChanges ( ) : bool

${controls_FeatureDataForm_attribute_ApplyChanges_D}

FeatureDataForm ( ) : System

${controls_FeatureDataForm_constructor_None_D}

OnApplyTemplate ( ) : void

${controls_FeatureDataForm_attribute_OnApplyTemplate_D}

Private Methods

Method Description
ApplyChanges ( Control fieldControl, bool shouldUpdateFeatureSource ) : bool
AutoGenerateColumns ( ) : void
CheckFeatureParent ( ) : bool
CommitButton_Click ( object sender, RoutedEventArgs e ) : void
FeatureDataField_PropertyChanged ( object sender, System e ) : void
Feature_AttributeValueChanged ( object sender, DictionaryChangedEventArgs e ) : void
FeaturesLayer_Initialized ( object sender, EventArgs e ) : void
FieldControl_LostFocus ( object sender, RoutedEventArgs e ) : void
FrameworkElement_PropertyChanged ( object sender, EventArgs e ) : void
GenerateField ( string fieldName, Grid grid, BindingMode bindingMode ) : void
GenerateFields ( ) : FrameworkElement
GenerateUI ( bool resetInternalVariables ) : void
GetControlFromType ( string fieldName, BindingMode bindingMode ) : Control
GetTextFieldControl ( ) : TextBox
HasChange ( ) : bool
HasChange ( Control control, object valueInFeature, bool &hasError ) : bool
HasInvalidField ( ) : bool
OnCommitButtonContentPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnCommitButtonStylePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnEditEnded ( EventArgs e ) : void
OnFeatureSourcePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnFeaturesLayerPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsReadOnlyPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLabelPositionPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLabelStylePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyChanged ( string propertyName ) : void
OnTextBoxStylePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PopulateFieldControl ( string fieldName, Grid grid, BindingMode bindingMode, int gridRow ) : Control
RemoveFromDictionary ( bool>.Dictionary &dictionary, string key ) : void
RepopulateDomains ( TextBox textBox ) : void
SetFrameworkElementBinding ( FrameworkElement frameworkElement, BindingMode bindingMode, object bindingSource, DependencyProperty dependencyProperty ) : void
UpdateDataForm ( string key, object newValue ) : void
UpdateDictionary ( bool>.Dictionary &dictionary, string key, bool value ) : void
UpdateStates ( ) : void

Method Details

ApplyChanges() public method

${controls_FeatureDataForm_attribute_ApplyChanges_D}
public ApplyChanges ( ) : bool
return bool

FeatureDataForm() public method

${controls_FeatureDataForm_constructor_None_D}
public FeatureDataForm ( ) : System
return System

OnApplyTemplate() public method

${controls_FeatureDataForm_attribute_OnApplyTemplate_D}
public OnApplyTemplate ( ) : void
return void

Property Details

CommitButtonContentProperty public static property

${controls_FeatureDataForm_attribute_CommitButtonContentProperty_D}
public static DependencyProperty,System.Windows CommitButtonContentProperty
return System.Windows.DependencyProperty

CommitButtonStyleProperty public static property

${controls_FeatureDataForm_attribute_CommitButtonStyleProperty_D}
public static DependencyProperty,System.Windows CommitButtonStyleProperty
return System.Windows.DependencyProperty

FeatureSourceProperty public static property

${controls_FeatureDataForm_attribute_FeatureSourceProperty_D}
public static DependencyProperty,System.Windows FeatureSourceProperty
return System.Windows.DependencyProperty

FeaturesLayerProperty public static property

${controls_FeatureDataForm_attribute_FeaturesLayerProperty_D}
public static DependencyProperty,System.Windows FeaturesLayerProperty
return System.Windows.DependencyProperty

IsReadOnlyProperty public static property

${controls_FeatureDataForm_attribute_IsReadOnlyProperty_D}
public static DependencyProperty,System.Windows IsReadOnlyProperty
return System.Windows.DependencyProperty

LabelPositionProperty public static property

${controls_FeatureDataForm_attribute_LabelPositionProperty_D}
public static DependencyProperty,System.Windows LabelPositionProperty
return System.Windows.DependencyProperty

LabelStyleProperty public static property

${controls_FeatureDataForm_attribute_LabelStyleProperty_D}
public static DependencyProperty,System.Windows LabelStyleProperty
return System.Windows.DependencyProperty

TextBoxStyleProperty public static property

${controls_FeatureDataForm_attribute_TextBoxStyleProperty_D}
public static DependencyProperty,System.Windows TextBoxStyleProperty
return System.Windows.DependencyProperty