or
| If Not My.Settings.DefaultAppGroup Is Nothing Then |
| Dim defaultAppGroup As String = My.Settings.DefaultAppGroup |
| Dim groupElement As RadPanelBarGroupElement |
| For Each groupElement In RadPanelBar1.Items |
| If groupElement.Caption = defaultAppGroup Then |
| 'groupElement.Selected = True |
| groupElement.Expanded = True |
| Exit For |
| End If |
| Next |
| End If |