GridPanelItemsControl wpf demo. use gridpanel in itemscontrol and you can set row index and column index of item