public FlightTableViewCell(NSString key) : base(UITableViewCellStyle.Default, key) { SelectionStyle = UITableViewCellSelectionStyle.Blue; Accessory = UITableViewCellAccessory.None; ContentMode = UIViewContentMode.Left; ContentView.ClipsToBounds = true; view = new FlightCellView(this); ContentView.Add(view); }
public FlightTableViewCell(Flight flight, NSString key) : base(UITableViewCellStyle.Default, key) { SelectionStyle = UITableViewCellSelectionStyle.Blue; Accessory = UITableViewCellAccessory.None; ContentMode = UIViewContentMode.Left; ContentView.ClipsToBounds = true; view = new FlightCellView (); view.Flight = flight; ContentView.Add (view); }