views:

15

answers:

1

class 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);

Hello, i have got the code above. startview is not fullscreen, there is a navbar above, the normal dv is also beyond the navbar, but when i click onto the ILISt to change the value, the ILIST is fullscreen, so i cannot get back,...important is also, that the actual is an UIView, i want this in an uiview,..and i want to use the reflection, because then i can directly serialise the data any ideas?