public override void Setup(C1FlexGrid parentGrid, int rowIndex)
{
// calling base implementation
base.Setup(parentGrid, rowIndex);
// store C1InputPanel items in the variable
var items = C1InputPanel.Items;
// initialize new instance of InputImage
var photoInputImage = new InputImage();
// assign corresponding data field
photoInputImage.DataField = "Photo";
// assign C1Input data source as item data source
photoInputImage.DataSource = C1InputPanel.DataSource;
// assign new width width and height
photoInputImage.Width = 150;
photoInputImage.Height = 150;
// place next items in the new column
photoInputImage.Break = BreakType.Column;
// insert InputImage into items collection at third position
items.Insert(3, photoInputImage);
}