Friday, September 26, 2008

Blog moved to YouDev.net

This blog has moved to www.youdev.net. There you can find tutorials on AvalonDock, WPF controls, samples and code.
Thanks!

Tuesday, April 29, 2008

AvalonDock is here!

AvalonDock version 1.0.1000 (ALPHA) is published on CodePlex!

Saturday, April 19, 2008

AvalonDock is coming soon...

Thanks to all for the feedbacks I received for AvalonDock. I had no much time during last 5 months to dedicate to AvalonDock. But now I'm going to post first release of AvalonDock. Of course this version will lack some features but I'm quite sure that in one month AvalonDock can reach CTP release. If you have any question post to this blog or append it to http://www.codeproject.com/KB/WPF/WPFdockinglib.aspx article.

I will publish an explaining article on CodeProject to illustrate AvalonDock features.

Here you can see some Avalon screenshot :








Monday, September 3, 2007

Holidays are Over!

I'm just coming back from a long holiday period and now I'm ready to restart coding! First of all I wish to thanks how voted my article during last months and I'm very happy that this component is usefull to someone around world. Next I have to announce some big changes that I'm planning for the future of the library.
First the name: someone has correctly noticed that WPF is a MS registered trademark so the name 'WPF Docking Library' will be changed in 'AvalonDock' that is less generic than the first one.
Second SourgeForge.net: I think to host AvalonDock project on CodePlex because that site has a more specific audience focused on MS tecnology.

Obviously I'm interested on comments on these ideas.

'AvalonDock' will completly support WinForms controls, WPF Styles and Commands.
It will start from version 0.3 as it's a successor of 'WPF Docking Library'

In the meaning on SourceForge you can download version 0.2.1 that fix some minor bugs.


Monday, July 16, 2007

Docking Library Version 0.2

Hi,
I posted a new small upgrade of docking library. This version supports multiple DockManager in same window and pane ability to change title. Hope these features can help some to solve problems posted during these days.

Wednesday, June 27, 2007

WPF Docking Library - Persistence Support

From http://sourceforge.net/projects/wpfdockinglib/ you can download version 0.1.8 of WPF Docking Library. Major feature added is persistence support. I hope to have time to update article on codeproject, anyway persistence it's very easy to use.

To get layout state in xml format use DockManager.GetLayoutAsXml() and to restore a saved state you can use DockManager.RestoreLayoutFromXml().

The latter method need a handler to library client code because DockManager need to know how to associate dockable contents type strings with client instances during deserialization. This mechanism is almost identical to those you can found in DockPanel Suite.

Here a few lines of code:

if (!string.IsNullOrEmpty(Properties.Settings.Default.DockingLayoutState))
DockManager.RestoreLayoutFromXml(Properties.Settings.Default.DockingLayoutState,
new DockingLibrary.GetContentFromTypeString(this.GetContentFromTypeString));
else
{
//Show PropertyWindow docked to the top border
propertyWindow.DockManager = dockManager;
propertyWindow.Show(Dock.Left);
//Show ExplorerWindow docked to the right border as default
explorerWindow.DockManager = dockManager;
explorerWindow.Show();
//Show ListWindow in documents pane
listWindow.DockManager = dockManager;
listWindow.Show();
}



private DockingLibrary.DockableContent GetContentFromTypeString(string type)
{
if (type == typeof(PropertyWindow).ToString())
return propertyWindow;
else if (type == typeof(ExplorerWindow).ToString())
return explorerWindow;
else if (type == typeof(ListWindow).ToString())
return listWindow;
return null;
}


I suppose you can find same bugs in this version so if you need a more stable release you can wait for version 0.2.

Saturday, June 16, 2007

WPF Docking LIbrary on SourceForge.net!

Hi guys, now you can download latest release of WPF Docking Library from SourceForge.Net web site.
This is the link: http://sourceforge.net/projects/wpfdockinglib/

Just now I published there version 0.1.1 which correct some annoying bugs discovered in version 0.1. Nothing of new relevant features are added.


http://www.codeproject.com/WPF/WPFdockinglib.asp remains the reference link for features overview.