find pinned pane in raddocking

2 posts, 0 answers
  1. Gilberto
    Gilberto avatar
    65 posts
    Member since:
    Sep 2006

    Posted 09 Sep 2010 Link to this post

    Hello

    Í'd like to find a RadPane already openned inside RadDocking.
    I actually try to find a openned pane throw this code below.

     foreach (RadSplitContainer container in radDocking.Items)
                {
                    foreach (RadPaneGroup group in container.Items)
                    {
                        foreach (RadPane pane in group.Items)
                        {
                            String headerAtual = pane.Header.ToString();
                            if (TituloAtual == headerAtual)
                            {
                                paneAtual = pane;
                                break;
                            }
                        }
                    }
                }

    I cannot find a pane if it is pinned or floating!!

    Anyway can i find the pane mentioned before?

    Thanks anyway

    Gilberto
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 13 Sep 2010 Link to this post

    Hi Gilberto,

    Thank you for contacting us.

    You could use the EnumaratePanes() method, to get all the Panes in the SplitContainer. Then you could check which is floating or not:

    foreach (RadPane p in this.splitContainer.EnumeratePanes())
                 
      
                }

    Hope this helps. If you have any other questions about our controls please let us know.

    Sincerely yours,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top