public IngredientColumnGroup(RecipeTable table, int index, RecipesView recipesView) { this.mIndex = index; this.mRecipesView = recipesView; table.AddDataColumn(IconColumnKey, typeof(Image), new IngrIconColumnBehavior(this)); table.AddDataColumn(NameColumnKey, typeof(string), new IngrNameColumnBehavior(this, recipesView)); table.AddDataColumn(AmountColumnKey, typeof(int), new IngrAmountColumnBehavior(this)); }