Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
Determine loaded layout
posted

We have 4 predefined XML Layout files which we load according to the type of data being displayed. I would like to be able to figure out which layout is currently loaded so as to be able to easily change to one of the others during a data transition. Is there an easy way to determine this via the UltraDockManager API (I cannot seem to find anything like this functionality).

Thanks,

blair

Parents
No Data
Reply
  • 44743
    posted

    No, there is nothing on the dock manager to indicate this. I would recommend making a helper method which makes the call to LoadFromXml on the dock manager. One of its parameters should be something to indicate to you which layout file to load. In addition to loading the layout, store the value of the parameter in a member variable to indicate what the last loaded layout file was.

Children
No Data