FieldDefinitionList

The FieldDefinitionList class is used to hold the field definitions that will be used to populate an AutoFormPanel with input controls. The class is descended from List<BaseFieldDefinition>, and adds two utility methods.

Methods

*
 public void InsertAfterProperty(BaseFieldDefinition fieldDefinition,
            String afterPropertyName) 
*
This method inserts the given field definition instance into the list directly after the given property name.

public BaseFieldDefinition DefinitionForPropertyName(String propertyName)
This method returns the field definition object for the given property name. If no matching definition is found the method returns null.

Last edited Oct 20, 2014 at 7:50 AM by DevKnightlie, version 1