This project is read-only.

Diffrences between version 1.1 and 1.2

Apr 6, 2009 at 1:52 PM

I'm trying to update from version 1.1 to version 1.2.
When I was in version 1.1, I could create new DocumentContents programatically by doing this :

DocumentContent myDocumentContent = new DocumentContent();
myDocumentContent.Title = "toto";
myDocumentContent.Content = myUserControl;


But when I do this with version 1.2, I have a blank tab.
What should I do in order to programatically create DocumentContents and fill them with some UserControl ?

Apr 7, 2009 at 3:46 PM
My bad.

In fact, I was filling my DocumentContent's Content with a UserControl in which the root element was a <DocumentContent>.
This was working with version 1.1 of AvalonDock, but not with the version 1.2.

I just had to remove the <DocumentContent> in my UserControl, in which it shouldn't have ever been.

Sorry for the disturbance...