protected override void Populate() { myChoiceGroupArray = new MyChoiceGroup[3]; myChoiceGroupArray[2] = new MyChoiceGroup(m_mediator, m_adapter, null, null, "Areas", "0"); myChoiceGroupArray[1] = new MyChoiceGroup(m_mediator, m_adapter, null, null, "Fruit", "1"); myChoiceGroupArray[0] = new MyChoiceGroup(m_mediator, m_adapter, null, null, "Vegetables", "2"); foreach (var v in myChoiceGroupArray) { this.Add(v); } }