I am using the RadDocking Silverlight control, and I love it, but I'm running into a few problems.
1. When I dynamically add RadPanes, they seem to lose their "z-order".
For example, if I add 3 panes (A,B,C) to a panelgroup, when I close pane C, pane A is activated instead of B - it is as if it goes back to the 1st item in the pane group
Here's how I add panes
1. When I dynamically add RadPanes, they seem to lose their "z-order".
For example, if I add 3 panes (A,B,C) to a panelgroup, when I close pane C, pane A is activated instead of B - it is as if it goes back to the 1st item in the pane group
Here's how I add panes
public RadDocumentPane AddDocumentPane(string title, UserControl control, string paneGroup, DockPosition position)
{
RadPaneGroup group = FindName(paneGroup) as RadPaneGroup;
RadDocumentPane r = null;
if (group != null)
{
r = new RadDocumentPane();
r.Title = title;
r.Content = control;
group.AddItem(r, position);
}
return r;
}
2. I want to dynamically hook up to the event that fires when a radpane is closed, but I dont see any events like that. How could I do that?
3. Is there a way to just loop through all of the open radPanes?