2 つのボタンを含むカスタム TableCell を使用する TableDataSource を作成しました。
List<ConductedActivitiesItem> _items = new List<ConductedActivitiesItem>();
foreach(var item in this._logicActivities.Steps)
{
_items.Add(new ConductedActivitiesItem(){ Date = "12-13", Text = item.Lines[0], Checked = null });
}
var ds = new ConductedActivitiesDataSource(_items);
var dg = new CSTableViewDelegate(null);
dg.SelectionChanged += this.Steps_SelectionChanged;
this.Pad_tbvMeasures.DataSource = null;
this.Pad_tbvMeasures.DataSource = ds;
this.Pad_tbvMeasures.Delegate = dg;
this.Pad_tbvMeasures.ReloadData();
リストには 4 つの項目があります: a b c d
テーブル ビューの表示: a b c d a b c d a b c d
List が DataSource よりも多くの項目を表示する理由を知っている人はいますか?