Thanks, but the issue is that i am working in PowerBuilder.net.
i tried the code in c# and it is working fine but in powerbuilder no, because the Children.Add() function is not found, I found that layoutDocumentPane is traslated to PowerObject and so the application can not execute the add action.
in xaml, the _layoutDocumentPane is part of AvalonDock but in the code is PowerObject.
I am seeking for other solution.
i tried the code in c# and it is working fine but in powerbuilder no, because the Children.Add() function is not found, I found that layoutDocumentPane is traslated to PowerObject and so the application can not execute the add action.
in xaml, the _layoutDocumentPane is part of AvalonDock but in the code is PowerObject.
I am seeking for other solution.