//the basic initialization of the item store protected virtual ItemStore GenerateItemStore() { //load the item entry structure. Note that contents is specific because EntryStructure can be //overloaded in child entities ItemStore newstore = new ItemStore(StoreEntry.CloneList(EntryStructure)); //write the new display column number to the store newstore.DisplayColumns = DisplayColumns; newstore.RegisterEntries(); return(newstore); }