or
Is there a way to determine which groups were expaned before the bind and then iterate through the new groups and if it finds a match, expand it?
Thank you, Tyler
| var mytheme = Application.StartUpPath + '/layouts/mytheme.xml'; |
| Private Sub AddTab() |
| 'Add tab to Form |
| myTab.Children(2).Margin = New Padding(0, 0, 25, 0) |
| myTab.Children.Add(newButton()) |
| myTab.IsSelected = True |
| myTab.ContentPanel.Controls.Add(myTreePanel) |
| myTab.ContentPanel.Controls.Add(myTabStrip) |
| myTreePanel.Location = New System.Drawing.Point(0, 0) |
| myTreePanel.Dock = System.Windows.Forms.DockStyle.Left |
| myTabStrip.Location = New System.Drawing.Point(129, 0) |
| myTabStrip.Dock = DockStyle.Fill |
| myTabStrip.Items.Add(innerTab) |
| innerTab.Children(2).Margin = New Padding(0, 0, 25, 0) |
| innerTab.Children.Add(newButton()) |
| innerTab.IsSelected = True |
| End Sub |