0
BindingContext
を使用してテーブルを生成し、デフォルト値を選択しないようにします。MonoTouch.Dialog:いいえデフォルト値
[RadioSelection ("Model:")]
public int model = -1;
public IList<string> Model;
それはルートに添加している:
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;
UIが選択した値 "ES 250" の代わりに、ブランク値をレンダリングしかし:
私のクラスでは、このフィールドを持っている