public CustomerInformationView()
			{
				Add(columnView = new ColumnView(){
					(firstName = new FormElementTextView{
						LabelText = "First Name",
						Row = 0,
						Column = 0,
						ColumnSpan = 5,
					}),
					(lastName = new FormElementTextView{
						LabelText = "Last Name",
						Row = 0,
						Column = 5,
						ColumnSpan = 6,
					}),
					(email = new FormElementTextView{
						LabelText = "Email",
						Row = 1,
						Column = 0,
						ColumnSpan = 5,
					}),
					(phone = new FormElementTextView{
						LabelText = "Phone",
						Row = 1,
						Column = 5,
						ColumnSpan = 3,
					}),
					(cellPhone = new FormElementTextView{
						LabelText = "Cell Phone",
						Row = 1,
						Column = 8,
						ColumnSpan = 3,
					}),
					(address = new FormElementTextView{
						LabelText = "Address",
						Row = 2,
						Column = 0,
						ColumnSpan = 11,
					}),
					(address2 = new FormElementTextView{
						LabelText = "Address 2",
						Row = 3,
						Column = 0,
						ColumnSpan = 11,
					}),
					(city = new FormElementTextView{
						LabelText = "City",
						Row = 4,
						Column = 0,
						ColumnSpan = 4,
					}),
					(state = new FormElementTextView{
						LabelText = "State",
						Row = 4,
						Column = 4,
						ColumnSpan = 2,
					}),
					(zip = new FormElementTextView{
						LabelText = "Zip",
						Row = 4,
						Column = 6,
						ColumnSpan = 3,
					}),

				});
			}
Пример #2
0
 public ColumnCell(string key)
     : base(UITableViewCellStyle.Default,key)
 {
     Add (ColumnView = new ColumnView ());
 }