Is there a way to programatically re-order the tabs on an UltraTab control?
So far, the only way I have found is to remove the tab, then insert the tab at the desired location. The issue is that I then have to recreate all the controls that were on the tab.
All I really want to do is swap the positions of two tabs.
Thanks,
Greg
I found a method of an UltraTab called Reposition that works for me.
if (tab != null) {
UltraTab firstTab = this.ultraTabControl1.VisibleTabs[0]; if (firstTab != null) {
if (firstTab != null) {
tab.Reposition(firstTab, Infragistics.Win.RelativePosition.Before);
}
I have tried to use this mothod but nothing happens.
what have i missed?