Xamarin.ios MonoTouch.Dialog:无默认值

Xamarin.ios MonoTouch.Dialog:无默认值,xamarin.ios,monotouch.dialog,Xamarin.ios,Monotouch.dialog,我正在使用BindingContext生成表,不希望选择默认值 我的班级有以下字段: [RadioSelection ("Model:")] public int model = -1; public IList<string> Model; [无线电选择(“型号:”)] 公共int模型=-1; 公共IList模型; 然后将其添加到根目录中: car = new AddCar () { Model = new List<string>(){"ES 250"

我正在使用
BindingContext
生成表,不希望选择默认值

我的班级有以下字段:

[RadioSelection ("Model:")] 
public int model = -1;
public IList<string> Model; 
[无线电选择(“型号:”)]
公共int模型=-1;
公共IList模型;
然后将其添加到根目录中:

car = new AddCar () {
    Model = new List<string>(){"ES 250","ES 300","ES 330","ES 350"}
};
bc = new BindingContext (this, car, "Add Your Vehicle");
this.Root = bc.Root;
car=new AddCar(){
模型=新列表(){“ES 250”、“ES 300”、“ES 330”、“ES 350”}
};
bc=新绑定上下文(此,汽车,“添加您的车辆”);
this.Root=bc.Root;
但是,UI呈现选定值“ES 250”,而不是空白值:


在列表开头添加空值或空值。否则,您唯一的选择就是修改MT.Dialog,使其按照您想要的方式运行