This project is read-only.

set Binding Source for DockingManager.DocumentSource or DocumentPane.ItemsSource?

Jul 3, 2010 at 3:31 PM
I'm starting to learn this library of controls and I'm looking for a way to data bind a collection of DocumentContent to a DocumentPane. The examples show how to add items directly to the DocumentPane in code i.e. <ad:DocumentPane> <ad:DocumentContent Title="MyDocument!"/> <ad:DocumentContent Title="MyDocument!"/> </ad:DocumentPane> Or by calling documentContent.Show in C#. However I was wondering if doing something like <ad:DocumentPane ItemsSource = "{Binding DocumentListCollectionView}"> or <ad:DockingManager DocumentSource = "{Binding DocumentListCollectionView}"> is supported in some way by AvalonDock. It would seem that these public properties can do this, but so far I haven't gotten it to work.