After the user changed the layout/configuration of the TabGroupPane and created some ContentPanes in many TabGroupPanes, how to programmatically consolidate ContentPanes in multiple TabGroupPanes into one TabGroupPane?
HI Frankwwu,
I have code snippet below that will consolidate contentpanes from one group to another.
Here a help link on TabGroups:
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=InfragisticsWPF4.DockManager.v10.2~Infragistics.Windows.DockManager.TabGroupPane.html
private void Button_Click(object sender, RoutedEventArgs e)
{
for (int i = tg2.Items.Count - 1; i > -1; i--)
ContentPane cp = (ContentPane) tg2.Items[i];
tg2.Items.RemoveAt(i);
tg1.Items.Add(cp);
}
Sincerely, Matt Developer Support Engineer
.