Converted the grid markup (stores, columns etc) into code behind to fully encapsulate the grid panel subclass.