コード例 #1
0
        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;
        }
コード例 #2
0
		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;
		}