Patent ID: 7831918

Claim:
A method, performed by a processor of a computer, of selecting a type and property of a user interface element to be associated with a data source field, the method comprising: accessing a data source, the data source comprising a plurality of fields, each field containing data; automatically analyzing, by the processor, the data in each field to determine the type of the data; for each field, selecting a type of user interface element and a property of the selected user interface element to bind to the respective field based on the analysis of the data such that the type of user interface element and property of user interface element that is selected for the field is based on a type of the data in the field; displaying, in a user interface, a table that includes a first column having a row for each field of the data source that was analyzed, a second column having a row for the user interface element that was selected to be bound to each field in the first column, and a third column having a row for the property of the user interface element that was selected to be bound to each field of the first column, wherein at least one of the rows of the first or second column displays an option for changing the user interface element or property to which the field is to be bound, and wherein the option is automatically set to a current selection based on the analysis of the data in the corresponding field; displaying, in the user interface, a user interface control for selecting a layout container for containing each of the user interface elements that are selected to be bound to the fields being displayed in the first column; and generating an XAML document that stores the bindings of the fields of the first column to the specified user interface elements and properties in the corresponding second and third columns.