Hello,
igDock:TabGroupPane TabStripPlacement="Top" is not saved in saveLayout().
However, after I have loaded the layout on C# side; i have set the tabStripPlacement to Dock.Top. Even then the tab stays down. Howshould I do this?
This is the code I have used after initializeComponent()
private void LoadDockLayout()
{
try
dockLayoutFile = new FileStream("DockLayout.xml", FileMode.Open);
theDockManager.LoadLayout(dockLayoutFile);
// manually reset TabStripPlacement.
baseTabGroup.TabStripPlacement = Dock.Top;
dockLayoutFile.Close();
}
catch (Exception ex)
{ MessageBox.Show(ex.Message); }
finally
{ dockLayoutFile.Close(); }
Can anyone help me please?
Thanks,
Jowen
We only save the things that the end user has control over which does not include the tab strip placement. Can you provide a sample so I can see the issue you are experiencing? It sounds like the TabGroupPane that you are manipulating is not the one that the control is using which would be the case if the user created a new tab group as a result of a drag operation. The only thing I can think is that baseTabGroup was a TabGroupPane that you created in code and if the Name of that was not set, it would not be reused when the layout was loaded.