Questions tagged [avalondock]

AvalonDock is a WPF controls library which can be used to create a docking layout system like that is present in VisualStudio. It supports fly-out panes, floating windows, multiple docking manager in same window, styles and themes and it can host WinForms controls.

AvalonDock is a WPF controls library which can be used to create a docking layout system like that is present in VisualStudio. It supports fly-out panes, floating windows, multiple docking manager in same window, styles and themes and it can host WinForms controls.

This library is the successor of the 'WPF Docking Library' that was published on CodeProject quite a while ago. AvalonDock is now part of Extended WPF Toolkit.

Features

  • Completely written in C# and XAML
  • Almost everything can be restyled
  • Support for Windows Forms controls

Known Issues

  • Due to design decisions (support for Windows Forms controls) this library cannot be use in a restricted environment (e.g. XBAP)

License

New BSD License (BSD)

350 questions
26
votes
3 answers

Maximize and Aero snap on DockableFloatingWindow

I have the following code to give a undocked floating AvalonDock window the ability to maximize: class MaximizableDockableContent : AvalonDock.DockableContent { public MaximizableDockableContent() : base() { …
Andreas
  • 3,843
  • 3
  • 40
  • 53
23
votes
1 answer

Load and save layout of anchorables - Binding of Visibility

I am facing the problem that I cannot open an anchorable of type X after I have loaded my old layout. This happens only when I have closed the anchorable of type X before saving the layout. Does anyone have a similar problem with AvalonDock? Is this…
ˈvɔlə
  • 9,204
  • 10
  • 63
  • 89
15
votes
1 answer

Sample code to show how to use Avalondock in an MVVM application

I am trying to use AvalonDock in my wpf application which is an MVVM application. Looking around I could not find any sample application showing how can I do this. AlavonDock says that it has native support for MVVM, so it should be easy to support…
mans
  • 17,104
  • 45
  • 172
  • 321
12
votes
6 answers

Upgrade AvalonDock from 1.3 to 2.0

I'm trying to upgrade AvalonDock in a application from 1.3 to 2.0 but there exist little to no documentation on this. I look at the simple, imported it by doing this xmlns:avalonDock="http://avalondock.codeplex.com" However this did not work. Error…
Icy Creature
  • 1,875
  • 2
  • 28
  • 53
9
votes
1 answer

Does the DockingManager come with a built-in method for handling Anchorables

When setting up AvalonDock with a set of Anchorables, for example:
TimothyP
  • 21,178
  • 26
  • 94
  • 142
9
votes
1 answer

AvalonDock 2.0 PRISM RegionAdapter with Layout Saving and Loading?

Has anyone managed to successfully load and save layout using dynamically injected views from Prism modules and AvalonDock? I have a RegionAdapter for the AvalonDock DockingManager which allows me to register views using the RegionViewRegistry in my…
Dutts
  • 5,781
  • 3
  • 39
  • 61
8
votes
5 answers

AvalonDock DocumentContent not garbage collected

I have created an application that makes use of the AvalonDock framework. A key part is the ability to edit domain-model entities using AvalonDock.DocumentContent derived editors. I hit upon a problem and discovered the my editors are not being…
Wietze
  • 313
  • 5
  • 8
8
votes
1 answer

Where can I get themes for WPF controls that resemble the Visual Studio 2010 interface?

My application is build around AvalonDock, which has quite good Visual Studio 2010 skin (which is much prettier than all the other skins). Now I would like to style the rest of my application to go with it. I'm interested most in following…
Matěj Zábský
  • 16,909
  • 15
  • 69
  • 114
8
votes
2 answers

AvalonDock - prevent anchorable pane docking in document pane

Is it possible to prevent an anchorable being docked into my documents pane? I want them to be draggable and moved around the screen, but sometimes users drag them into the documents pane which makes them look poor. Then they close the tab and I…
WillH
  • 2,086
  • 6
  • 23
  • 40
7
votes
1 answer

Can I customize AvalonDock context menu?

I am using AvalonDock in a project to take advantage of the tool windows. I don't have any need for Tabbed Documents and would like to disable the "Dock as Tabbed Document" context menu item when I right click on a tool window title bar. Is this…
Alan Spark
  • 8,152
  • 8
  • 56
  • 91
7
votes
3 answers

Unhandled 'System.ComponentModel.Win32Exception' when using AvalonDock 2.0

I'm using AvalonDock 2.0, and when ever I open a dock container, while on debugging mode the application crash (it works fine when running without debugging). I get the below exception: An unhandled exception of type…
IBRA
  • 1,502
  • 3
  • 24
  • 56
7
votes
1 answer

In Avalondock, how I find a LayoutContent by ConentId

I have several panes containing content that all have their ContentIds. I want to be able to find one of the panes so I can set it to the active content. Let's call that MyContentView. In a different view, I press a button that does something like…
7
votes
2 answers

AvalonDock 2 with Caliburn Micro

Are there any blogs or articles about using AvalonDock with Caliburn Micro MVVM? Didn't find much when Googling http://avalondock.codeplex.com/ edit: Got an up vote so why not update with a final solution. Full code can be found…
Anders
  • 17,306
  • 10
  • 76
  • 144
6
votes
1 answer

How do I move the AvalonDock Anchorable Pane tab to the top instead of the bottom?

I am using AvalonDock in a project and would like to use the Anchorable Pane, but instead of the tab appearing at the bottom, I would like it to appear at the top like it does on a Document Pane. For my project, a Document Pane is not the…
Matt Rockwell
  • 456
  • 1
  • 6
  • 20
6
votes
2 answers

Change style of existing theme (AvalonDock)

I want to change the Metro theme color of AvalonDock. I also asked a related question on Codeplex but I didn't got an answer so far. I identified the following XAML (source file) as the piece that, I guess, is responsible for the color I want to…
fedab
  • 978
  • 11
  • 38
1
2 3
23 24