【发布时间】:2010-10-14 19:04:16
【问题描述】:
Fahrzeug 级
{
[Entry ("Typ")]
public string typ;
[Entry ("Name")]
public string name;
[RadioSelection("ListOfString")]
public int selected=0;
public IList<string> ListOfString;
}
public override void ViewWillAppear (bool animated)
{
base.ViewWillAppear (animated);
Fahrzeug x = new Fahrzeug();
x.typ="Neuwagen";
x.name="BMW X3";
x.ListOfString=new List<string>();
x.ListOfString.Add("asdf");
x.ListOfString.Add("bsdf");
var bc= new BindingContext(null,x,"asdf");
var dv = new MonoTouch.Dialog.DialogViewController(bc.Root,true);
dv.WantsFullScreenLayout=false;
dv.View.BackgroundColor=UIColor.DarkGray;
this.startview.AddSubview(dv.View);
你好, 我有上面的代码。 startview 不是全屏的,上面有个导航栏, 正常的 dv 也超出了导航栏, 但是当我单击 ILISt 来更改值时,ILIST 是全屏的,所以我无法返回,......重要的是,实际是一个 UIView,我想要这个在一个 uiview 中,......我想使用反射,因为这样我可以直接序列化数据 有什么想法吗?
【问题讨论】:
标签: iphone xamarin.ios monotouch.dialog