void AddPackageCellViewToListView() { packageCellView = new PackageCellView { PackageField = packageViewModelField, HasBackgroundColorField = packageHasBackgroundColorField, CheckBoxAlphaField = packageCheckBoxAlphaField, ImageField = packageImageField, CellWidth = 535 }; var textColumn = new ListViewColumn("Package", packageCellView); packagesListView.Columns.Add(textColumn); packageCellView.PackageChecked += PackageCellViewPackageChecked; }
void AddPackageCellViewToListView () { packageCellView = new PackageCellView { PackageField = packageViewModelField, HasBackgroundColorField = packageHasBackgroundColorField, CheckBoxAlphaField = packageCheckBoxAlphaField, ImageField = packageImageField, CellWidth = 535 }; var textColumn = new ListViewColumn ("Package", packageCellView); packagesListView.Columns.Add (textColumn); packageCellView.PackageChecked += PackageCellViewPackageChecked; }