void SetCustomer(AutoLayoutContentView Customer) { Customer.AddLabel("CustomerLabel", "CUSTOMER", UIColor.LightGray, LabelTextSize); var name = Customer.AddLabel("CustomerName", "Alex Eadie", UIColor.Black, DataTextSize); Customer.AddConstraint("V:|-18-[CustomerLabel]-7-[CustomerName]|"); Customer.AddConstraint("H:|-19-[CustomerLabel]-(>=8)-|"); Customer.AddConstraint("H:|-19-[CustomerName]-(>=8)-|"); }
void SetContact(AutoLayoutContentView Contact) { Contact.AddLabel ("ContactLabel", "CONTACT", UIColor.LightGray, LabelTextSize); var name = Contact.AddLabel ("ContactName", "Natasha Eadie", UIColor.Black, DataTextSize); var phone = Contact.AddLabel ("ContactPhone", "0412 123 456", UIColor.Black, DataTextSize); Contact.AddConstraint ("V:|[ContactLabel]-3-[ContactName]-3-[ContactPhone]-18-|"); Contact.AddConstraint ("H:|-19-[ContactLabel]-(>=8)-|"); Contact.AddConstraint ("H:|-19-[ContactName]-(>=8)-|"); Contact.AddConstraint ("H:|-19-[ContactPhone]-(>=8)-|"); }
void SetContact(AutoLayoutContentView Contact) { Contact.AddLabel("ContactLabel", "CONTACT", UIColor.LightGray, LabelTextSize); var name = Contact.AddLabel("ContactName", "Natasha Eadie", UIColor.Black, DataTextSize); var phone = Contact.AddLabel("ContactPhone", "0412 123 456", UIColor.Black, DataTextSize); Contact.AddConstraint("V:|[ContactLabel]-3-[ContactName]-3-[ContactPhone]-18-|"); Contact.AddConstraint("H:|-19-[ContactLabel]-(>=8)-|"); Contact.AddConstraint("H:|-19-[ContactName]-(>=8)-|"); Contact.AddConstraint("H:|-19-[ContactPhone]-(>=8)-|"); }
void SetCustomer(MvxFluentBindingDescriptionSet <TicketView, TicketViewModel> Set, AutoLayoutContentView Customer) { Customer.AddLabel("CustomerLabel", "CUSTOMER", UIColor.LightGray /*TelstraGreyL6*/, TowLabelTextSize); var name = Customer.AddLabel("CustomerName", "Alex Eadie", UIColor.Black, TowDataTextSize); var telstra = Customer.AddImage("Customer_telstra_img", "ic_telstra_logo.png"); Customer.AddConstraint("V:|-18-[CustomerLabel]-7-[CustomerName]|"); Customer.AddConstraint("V:|-20-[Customer_telstra_img(28)]-(>=8)-|"); Customer.AddConstraint("H:|-19-[CustomerLabel]-(>=8)-|"); Customer.AddConstraint("H:|-19-[CustomerName]-(>=8)-|"); Customer.AddConstraint("H:|-(>=8)-[Customer_telstra_img(28)]-27-|"); Set.Bind(name).To(vm => vm.Hello); Set.Bind(telstra).For("Visibility").To(vm => vm.Telstra).WithConversion("Visibility"); }
void SetContact(MvxFluentBindingDescriptionSet <TicketView, TicketViewModel> Set, AutoLayoutContentView SiteContact) { SiteContact.AddLabel("SiteContactLabel", "SITE CONTACT", UIColor.LightGray /*TelstraGreyL6*/, TowLabelTextSize); var name = SiteContact.AddLabel("SiteContactName", "Natasha Eadie", UIColor.Black, TowDataTextSize); var phone = SiteContact.AddLabel("SiteContactPhone", "0412 123 456", UIColor.Black, TowDataTextSize); SiteContact.AddImage("SitePhoneImage", "ic_phone.png"); SiteContact.AddConstraint("V:|[SiteContactLabel]-3-[SiteContactName]-3-[SiteContactPhone]-18-|"); SiteContact.AddConstraint("V:|-20-[SitePhoneImage(23)]-(>=8)-|"); SiteContact.AddConstraint("H:|-19-[SiteContactLabel]-(>=8)-|"); SiteContact.AddConstraint("H:|-19-[SiteContactName]-(>=10)-[SitePhoneImage(23)]-27-|"); SiteContact.AddConstraint("H:|-19-[SiteContactPhone]-(>=8)-|"); Set.Bind(name).To(vm => vm.Hello); Set.Bind(phone).To(vm => vm.Hello); }
void SetCustomer(AutoLayoutContentView Customer) { Customer.AddLabel ("CustomerLabel", "CUSTOMER", UIColor.LightGray, LabelTextSize); var name = Customer.AddLabel ("CustomerName", "Alex Eadie", UIColor.Black, DataTextSize); Customer.AddConstraint ("V:|-18-[CustomerLabel]-7-[CustomerName]|"); Customer.AddConstraint ("H:|-19-[CustomerLabel]-(>=8)-|"); Customer.AddConstraint ("H:|-19-[CustomerName]-(>=8)-|"); }
static void SetPremises(MvxFluentBindingDescriptionSet<TicketView, TicketViewModel> Set, AutoLayoutContentView PremisesBorder) { var address = PremisesBorder.AddLabel ("PremisesAddress", "UNIT 103, 402 DRAYTON-WELLCAMP RD PARRAMATTA", UIColor.Black, 15); Set.Bind (address).To (vm => vm.Hello); SetPremisesDirections (Set, PremisesBorder); PremisesBorder.AddConstraint ("V:|[PremisesTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint ("V:|[ExchangeTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint ("V:|[ConnectionPillarTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint ("V:|[PremisesTabBox(55)]-28-[PremisesDirectionsBox]-(>=8)-|"); PremisesBorder.AddConstraint ("H:|[PremisesTabBox]-2-[ConnectionPillarTabBox(==PremisesTabBox)]-2-[ExchangeTabBox(==PremisesTabBox)]|"); PremisesBorder.AddConstraint ("H:|-19-[PremisesAddress(<=200)]-(>=6)-[PremisesDirectionsBox(66)]-10-|"); }
static void SetPremises(MvxFluentBindingDescriptionSet <TicketView, TicketViewModel> Set, AutoLayoutContentView PremisesBorder) { var address = PremisesBorder.AddLabel("PremisesAddress", "UNIT 103, 402 DRAYTON-WELLCAMP RD PARRAMATTA", UIColor.Black, 15); Set.Bind(address).To(vm => vm.Hello); SetPremisesDirections(Set, PremisesBorder); PremisesBorder.AddConstraint("V:|[PremisesTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint("V:|[ExchangeTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint("V:|[ConnectionPillarTabBox(55)]-20-[PremisesAddress(60)]-18-|"); PremisesBorder.AddConstraint("V:|[PremisesTabBox(55)]-28-[PremisesDirectionsBox]-(>=8)-|"); PremisesBorder.AddConstraint("H:|[PremisesTabBox]-2-[ConnectionPillarTabBox(==PremisesTabBox)]-2-[ExchangeTabBox(==PremisesTabBox)]|"); PremisesBorder.AddConstraint("H:|-19-[PremisesAddress(<=200)]-(>=6)-[PremisesDirectionsBox(66)]-10-|"); }
void SetCustomer(MvxFluentBindingDescriptionSet<TicketView, TicketViewModel> Set, AutoLayoutContentView Customer) { Customer.AddLabel ("CustomerLabel", "CUSTOMER", UIColor.LightGray/*TelstraGreyL6*/, TowLabelTextSize); var name = Customer.AddLabel ("CustomerName", "Alex Eadie", UIColor.Black, TowDataTextSize); var telstra = Customer.AddImage ("Customer_telstra_img", "ic_telstra_logo.png"); Customer.AddConstraint ("V:|-18-[CustomerLabel]-7-[CustomerName]|"); Customer.AddConstraint ("V:|-20-[Customer_telstra_img(28)]-(>=8)-|"); Customer.AddConstraint ("H:|-19-[CustomerLabel]-(>=8)-|"); Customer.AddConstraint ("H:|-19-[CustomerName]-(>=8)-|"); Customer.AddConstraint ("H:|-(>=8)-[Customer_telstra_img(28)]-27-|"); Set.Bind (name).To (vm => vm.Hello); Set.Bind (telstra).For ("Visibility").To (vm => vm.Telstra).WithConversion ("Visibility"); }
void SetContact(MvxFluentBindingDescriptionSet<TicketView, TicketViewModel> Set, AutoLayoutContentView SiteContact) { SiteContact.AddLabel ("SiteContactLabel", "SITE CONTACT", UIColor.LightGray/*TelstraGreyL6*/, TowLabelTextSize); var name = SiteContact.AddLabel ("SiteContactName", "Natasha Eadie", UIColor.Black, TowDataTextSize); var phone = SiteContact.AddLabel ("SiteContactPhone", "0412 123 456", UIColor.Black, TowDataTextSize); SiteContact.AddImage ("SitePhoneImage", "ic_phone.png"); SiteContact.AddConstraint ("V:|[SiteContactLabel]-3-[SiteContactName]-3-[SiteContactPhone]-18-|"); SiteContact.AddConstraint ("V:|-20-[SitePhoneImage(23)]-(>=8)-|"); SiteContact.AddConstraint ("H:|-19-[SiteContactLabel]-(>=8)-|"); SiteContact.AddConstraint ("H:|-19-[SiteContactName]-(>=10)-[SitePhoneImage(23)]-27-|"); SiteContact.AddConstraint ("H:|-19-[SiteContactPhone]-(>=8)-|"); Set.Bind (name).To (vm => vm.Hello); Set.Bind (phone).To (vm => vm.Hello); }