예제 #1
0
        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);
        }
예제 #2
0
        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);
        }