是一个怎么的背景颜色 EntryElement
在改变MonoTouch.Dialog
?
Answer 1:
public class PaperEntryElement: EntryElement
{
public PaperEntryElement(string caption, string placeholder, string value)
: base(caption,placeholder,value)
{
}
public override UITableViewCell GetCell(UITableView tv)
{
var cell= base.GetCell(tv);
cell.BackgroundColor =
UIColor.FromPatternImage(MediaProvider
.GetImage(ImageGeneral.paper_tile));
return cell;
}
}
文章来源: MonoTouch.Dialog: EntryElement's background color