I would like to set DocumentHost in RadDocking in code behind, but always it is null. How can i fix it ?
1 Answer, 1 is accepted
0
Georgi
Telerik team
answered on 13 Mar 2013, 12:25 PM
Hello Gilmar,
As the DocumentHost is an attached property it can be set as any attached property.
For example a dock with DocumentHost set in code behind can be achieved as followed:
RadDocumentPane docPane = new RadDocumentPane();
docPane.Header = "Document Pane";
RadDocumentPane notDragableDocPane = new RadDocumentPane();