I have a problem with removing dockable elements from panel, i registred a eventhandler and I call
//pan.DockingSite.Remove(pan);
dckingManager1.PrimarySite.Remove(pan);
//dockingManager1.RemoveDocument(pan);
and than I call SaveLayout, but after loading panel is still there, if i however add a new dockable and save it it will persist .
in examples it is only possible to remove all nodes or add new nodes, so i can not see how (and if this can be implemented)
what i have to do to remove panel and save layout without thid panel ?
thanks
almir
//pan.DockingSite.Remove(pan);
dckingManager1.PrimarySite.Remove(pan);
//dockingManager1.RemoveDocument(pan);
and than I call SaveLayout, but after loading panel is still there, if i however add a new dockable and save it it will persist .
in examples it is only possible to remove all nodes or add new nodes, so i can not see how (and if this can be implemented)
what i have to do to remove panel and save layout without thid panel ?
thanks
almir