Profile Picture

NDockingPanel.TabInfo.Index not referenced on auto hidden panel

Posted By Craig Swearingen 6 Years Ago

NDockingPanel.TabInfo.Index not referenced on auto hidden panel

Author
Message
Craig Swearingen
Question Posted 6 Years Ago
View Quick Profile
Supreme Being

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
Last Active: 4 Years Ago
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
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)Supreme Being (4,098 reputation)

Group: Forum Members
Last Active: 11 hours ago
Posts: 2,970, Visits: 3,394
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
Posted 6 Years Ago
View Quick Profile
Supreme Being

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
Last Active: 4 Years Ago
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?



Similar Topics


Reading This Topic