This is a migrated thread and some comments may be shown as answers.

find pinned pane in raddocking

1 Answer 38 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Gilberto
Top achievements
Rank 1
Gilberto asked on 09 Sep 2010, 08:39 PM
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

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 13 Sep 2010, 03:44 PM
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
Tags
Docking
Asked by
Gilberto
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or