Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios MonoTouch.Dialog:EntryElement';背景色_Ios_Xamarin.ios_Monotouch.dialog - Fatal编程技术网

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;
    }
}