How to get the main RadPaneGroup (host)?
The following example is not possible to obtain the public RadPaneGroup (host).
The following example is not possible to obtain the public RadPaneGroup (host).
RadPane rp =
new
RadPane();
//rp.content = ......;
//......;
RadSplitContainer splitContainer = radDocking.DocumentHost
as
RadSplitContainer;
RadPaneGroup paneGroup = (splitContainer.Items
as
IEnumerable<RadPaneGroup>).FirstOrDefault(s => s.IsInDocumentHost ==
true
);//(get error)
paneGroup.Items.Add(rp);