New Post: [Version 2.0] LayoutElement
Hi SteveYes, that's what I found. See http://avalondock.codeplex.com/discussions/343066Have a look at my Caliburn Micro solution. One can attach a property to DockingManager and work at that level.I...
View ArticleNew Post: [Version 2.0] Handling Tab closure
Hi Ado, Any advice on how the ViewModel can be informed of Tab closing? Currently I can use DockManager.DocumentClosing, but that needs AvalonDock.DocumentClosingEventArgs to get Document.Content,...
View ArticleNew Post: [Version 2.0] Handling Tab closure
John, I would create a Behaviour e.g. DockingManagerBehaviour as an attached property on DockingManager that receives all the events you need to handle from it and then ties the View that received the...
View ArticleNew Post: [Version 2.0] Handling Tab closure
Hi Steve,Yes I have and my current example uses it - well I use the event version and the command version.But to resolve which of the Tabs has caused the controlling viewmodel to be notified needs...
View ArticleNew Post: [Version 2.0] Handling Tab closure
Maybe I am not understanding you properly but.... Workspace is a ViewModel - it derives from ViewModelBase and is set as the DataContext for MainWindow.xaml. In the code example above:...
View ArticleNew Post: [Version 2.0] MVVM Support
I'm going to try the DataTemplate approach now that I have more time to play around with it (and not under project deadline pressure to "make it work anyway possible"). As I remember, when using v1.3...
View ArticleNew Post: [Version 2.0] LayoutElement
John/Ado, I have decided to try the DataTemplateSelector approach to having tabs with different user controls based on the ViewModels in DocumentsSource. The upshot is that I won't have to use Robert...
View ArticleSource code checked in, #89093
Build 2.0.0278 - Fixed dragging issues, added MVVM support to anchorables
View ArticleClosed Issue: Docking not working with Change Set 88810 [14771]
This is probably known -- but just in case it has something to do with my system...Windows 7 UltimateIntel Core2 Quad CPU Q6600 @ 2.40GHz4.00 GB RAM64 Bit Operating SystemDual monitorsThe DockPane...
View ArticleNew Post: [Version 2.0] AnchorableTemplateSelector
Is there going to be one eventually or should I be using something else to select the DataTemplate for Anchorables. I see the AnchorableTitleTemplateSelector and also a section where it perhaps should...
View ArticleSource code checked in, #89121
Build 2.0.0301 - Addition to MVVM support, more context menus
View ArticleNew Post: [Version 2.0] AnchorableTemplateSelector
Just a bit :)now you have the AnchorableTemplate/Selector with the latest changeset, (the AnchorableTitleTemplate/Selector is for the anchorables title) Ado
View ArticleNew Post: [Version 2.0] AnchorableTemplateSelector
Nice :) Don't want to be a pest (but maybe I'm helping out!)... It appears that AttachAnchorablesSource and DetachAnchorablesSource had each other's names mixed up... I changed that but then my...
View ArticleNew Post: [Version 2.0] AnchorableTemplateSelector
Ah... It appears that my LayoutAnchorablePane wasn't found because the AncorablesSource dependency property is being set before the visual tree is rendered from LayoutRoot in XAML. I tried refreshing...
View ArticleNew Post: [Version 2.0] Handling Tab closure
Steve, Thank you for your help. I've now solved the Tab Closing problem I had once I understood both AvalonDock and Caliburn.Micro's ActionMessage. I've created a DocumentHeaderTemplate that contains a...
View ArticleNew Post: [Version 2.0] Handling Tab closure
John, Caliburn finding the View (content) from the ViewModel is exactly what the DocumentTemplateSelector does already in the DockingManager. I'll post some source code once I get the Anchorable's...
View ArticleNew Post: [Version 2.0] Handling Tab closure
Also, the MVVM example that Ado wrote also has a close button. Once you fully understand the new AvalonDock, you will probably be able to ditch the Caliburn like I am ditching the...
View ArticleNew Post: Short example how to use seperate XAML to define Content
Hello, i want to use Avalon in a new Project but i have no idea how i could seperate the Content of "Dockable" or "Documents" in a seperate XAML / Assembly ? Is this possible ? Short example / tip ?...
View ArticleCreated Issue: Docking Not Working (more info) [14799]
Hi -- I have a problem where docking does not work on a Windows 7 machine. After trying it in several VMs, the problem appears to be related to... Control Panel > Display > Make text and other...
View ArticleCommented Issue: Docking Not Working (more info) [14799]
Hi -- I have a problem where docking does not work on a Windows 7 machine. After trying it in several VMs, the problem appears to be related to... Control Panel > Display > Make text and other...
View Article