Hello, I'm trying to use AvalonDock themes feature and I got a few problems.
First of all, is there a reason why the "standalone" version is 2.0 and the version in the Extended WPF Toolkit is 2.1? From a quick glance, the only difference is that the Expression Theme is missing in 2.1.
I had lots of missing Binding, and finally managed to get rid of them by adding this in the app.xaml:
First of all, is there a reason why the "standalone" version is 2.0 and the version in the Extended WPF Toolkit is 2.1? From a quick glance, the only difference is that the Expression Theme is missing in 2.1.
I had lots of missing Binding, and finally managed to get rid of them by adding this in the app.xaml:
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.Aero;Component/Theme.xaml"/>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.Metro;Component/Theme.xaml"/>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.VS2010;Component/Theme.xaml"/>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.Expression;Component/Theme.xaml"/>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.Expression;Component/DarkTheme.xaml"/>
<ResourceDictionary Source="/Xceed.Wpf.AvalonDock.Themes.Expression;Component/LightTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>
Now it seems to work fine for Aero/Metro/VS2010, but the Expression themes give me these errors:System.Windows.Data Error: 40 : BindingExpression path error: 'Model' property not found on 'object' ''LayoutAnchorable' (HashCode=27661684)'. BindingExpression:Path=Model.IsSelected; DataItem='LayoutAnchorable' (HashCode=27661684); target element is 'LayoutAnchorableTabItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsFloating' property not found on 'object' ''LayoutAnchorablePane' (HashCode=27141397)'. BindingExpression:Path=Model.IsFloating; DataItem='LayoutAnchorablePaneControl' (Name=''); target element is 'LayoutAnchorablePaneControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 1 : Cannot create default converter to perform 'one-way' conversions between types 'Xceed.Wpf.AvalonDock.Layout.LayoutContent' and 'Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable'. Consider using Converter property of Binding. BindingExpression:Path=Model.SelectedContent; DataItem='LayoutAnchorablePaneControl' (Name=''); target element is 'AnchorablePaneTitle' (Name=''); target property is 'Model' (type 'LayoutAnchorable')
I take it the Expression theme is broke and should not be used, but that's sad because it's the only dark theme that fit with my application design.