NDockingPanel.TabInfo.Index not referenced on auto hidden panel


Author
Message
Craig Swearingen
Craig Swearingen
Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)
Group: Forum Members
Posts: 99, Visits: 654
I'm loading a layout which had been previously saved with NDockingPanels auto hidden showing their tabs along the left border of my window.  During the NDockingFrameworkState.StateRestored event I iterate through the NDockingFrameworkState.Manager.Panels to both put content on them and set their TabInfo.Index value to show the tab icon.

Once the window is shown there are no icons visible with the text on these tabs.  If I then manually toggle the auto hide I will see the icon on the tab.  If I manually auto hide them again the icon will show with the text on the tab along the left border like I expected to see it when the layout was first loaded.  Thus I know the index is being saved and is correct.

What should I do after my layout is loaded to cause these icons to show on my window?  I've been looking for some kind of refresh method but haven't found anything that helps.
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hello Craig,

You can try to call NDockingFrameworkState.Manager.NotifyAutoHideTabsUpdate() after all icons and texts are set.

Please, let us know if the problem persist.

Best Regards,
Nevron Support Team


Craig Swearingen
Craig Swearingen
Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)
Group: Forum Members
Posts: 99, Visits: 654
Thanks for the suggestion.  I tried adding the NDockingFrameworkState.Manager.NotifyAutoHideTabsUpdate()  after the NDockingFrameworkState.Load() finished and it had no affect.  The problem persists.  Any other suggestions?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search