Ios MonoTouch.Dialog:EntryElement';背景色
在Ios MonoTouch.Dialog:EntryElement';背景色,ios,xamarin.ios,monotouch.dialog,Ios,Xamarin.ios,Monotouch.dialog,在MonoTouch.Dialog中,EntryElement的背景色如何更改 public class PaperEntryElement: EntryElement { public PaperEntryElement(string caption, string placeholder, string value) : base(caption,placeholder,value) { } public override UITableVi
MonoTouch.Dialog
中,EntryElement
的背景色如何更改
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;
}
}