MonoTouch.Dialog.SimpleImageElement.GetCell C# (CSharp) Method

GetCell() public method

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell
		public override UITableViewCell GetCell (UITableView tv)
		{
			var cell = tv.DequeueReusableCell (ikey);
			if (cell == null){
				cell = new UITableViewCell (UITableViewCellStyle.Default, ikey);
				cell.Add(Image);
			}
			
			if (tv.Style == UITableViewStyle.Grouped){
				cell.BackgroundColor = UIColor.Clear;
				cell.BackgroundView = new UIView{BackgroundColor = UIColor.Clear, Frame = new RectangleF(0,0,0,0)};
			}
			Image.Image = Value;
			cell.UserInteractionEnabled =false;
			return cell;
		}