// Customize the appearance of table view cells.
            public override UITableViewCell GetCell(UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
            {
                string cellIdentifier = "HorizontalTableCell";

                //HorizontalTableCell cell = (HorizontalTableCell)tableView.DequeueReusableCell (cellIdentifier);
                HorizontalTableCell2 cell = (HorizontalTableCell2)tableView.DequeueReusableCell(cellIdentifier);

                if (cell == null)
                {
                    cell = new HorizontalTableCell2(UITableViewCellStyle.Default, cellIdentifier);
//					if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone) {
//						cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
//					}
                }

                cell.Frame = new RectangleF(0, 0, 768, 220);


                CGAffineTransform rotateTable = CGAffineTransform.MakeRotation(-3.141f * 0.5f);

                cell.horizontalTableView.Transform = rotateTable;
                cell.horizontalTableView.Frame     = new RectangleF(0, 0,
                                                                    cell.Frame.Size.Width,
                                                                    cell.Frame.Size.Height);
//				cell.horizontalTableView.AllowsSelection=true;
//				cell.horizontalTableView.AllowsMultipleSelection=false;
//				cell.horizontalTableView.ScrollEnabled=true;
                //cell.horizontalTableView.DelaysContentTouches=false;
//				cell.horizontalTableView.CanCancelContentTouches=true;

                //cell.horizontalTableView.Transform.Rotate(-3.141f * 0.5f);
                //cell.Transform.Rotate
                //cell.Transform.Rotate(-3.141f * 0.5f);

                // Configure the cell.
                //cell.TextLabel.Text = NSBundle.MainBundle.LocalizedString ("Detail", "Detail");
                return(cell);
            }
			// Customize the appearance of table view cells.
			public override UITableViewCell GetCell (UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
			{
				string cellIdentifier = "HorizontalTableCell";

				//HorizontalTableCell cell = (HorizontalTableCell)tableView.DequeueReusableCell (cellIdentifier);
				HorizontalTableCell2 cell = (HorizontalTableCell2)tableView.DequeueReusableCell (cellIdentifier);

				if (cell == null) {
					cell = new HorizontalTableCell2 (UITableViewCellStyle.Default, cellIdentifier);
//					if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone) {
//						cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
//					}
				}

				cell.Frame=new RectangleF(0,0,768,220);

				
				 CGAffineTransform rotateTable = CGAffineTransform.MakeRotation(-3.141f * 0.5f);
		         cell.horizontalTableView.Transform = rotateTable;
		         cell.horizontalTableView.Frame = new RectangleF(0, 0, 
                 cell.Frame.Size.Width,
                 cell.Frame.Size.Height);
//				cell.horizontalTableView.AllowsSelection=true;
//				cell.horizontalTableView.AllowsMultipleSelection=false;
//				cell.horizontalTableView.ScrollEnabled=true;
				//cell.horizontalTableView.DelaysContentTouches=false;
//				cell.horizontalTableView.CanCancelContentTouches=true;

				//cell.horizontalTableView.Transform.Rotate(-3.141f * 0.5f);
				//cell.Transform.Rotate
				//cell.Transform.Rotate(-3.141f * 0.5f);
				
				// Configure the cell.
				//cell.TextLabel.Text = NSBundle.MainBundle.LocalizedString ("Detail", "Detail");
				return cell;
			}