Welcome to the Xceed Community | Help
Community Search  
More Search Options

GetChildToolWindowIndex

Sort Posts: Previous Next
  •  05-03-2012, 2:51 PM Post no. 32071

    GetChildToolWindowIndex

    Short Question:

    So, there is a SetChildToolWindowIndex but I can't find how to retrieve that index. Is there a GetChildToolWindowIndex (or equivalent) that I'm missing?

     

     Root of the Problem Question:

     The reason I need the above is that when I save the layout it doesn't save the order of the ToolWindows in the ToolWindowGroup. I discovered that if the ToolWindow nodes are rearranged in the XML then it will order them based on that. So I figured I would just rearrange the nodes before saving the xml I get from SaveLayout.

     But I can't find anyway to get the order they are in! Thus I can't rearrange them myself.

    If there's an easier way to save the order of the ToolWindows that would be even better.

     Thanks. 

     Edit: Xceed.DockinWindows v 2.1.112114.170010

     

  •  05-11-2012, 3:59 PM Post no. 32100 in reply to 32071

    Re: GetChildToolWindowIndex

    Hi Seth,

    There is no direct exposition of the index, you can get it by doing the following:

       ToolWindowGroup.ToolWindows.IndexOf( yourToolWindow )

     


    ** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!


    Diane Lafontaine
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.