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
6
votes
0 answers

Set document template for AvalonDock DockingManager

Uses AvalonDock I don't get how to set template for binded documents? In case i set LayoutItemTemplate it works with documents and Anchors, but i want to set only document template
Roar
  • 2,117
  • 4
  • 24
  • 39
6
votes
1 answer

AvalonDock DockingManager does not load layout

In order to save and load my layout I followed the instructions here, but it didn't work for me. I've got this XAML inside the MainWindow:
Ceco
  • 1,586
  • 3
  • 16
  • 23
6
votes
1 answer

AvalonDock with Prism Region Adapter

I have seen some questions on SO but none of them seemed applicable for me. I want to be able to use the great Avalondock 2.0 with Prism 4. However, all the sample region adapters for that is for Avalondock 1.x series, that I cannot get it…
noway
  • 2,585
  • 7
  • 41
  • 61
5
votes
2 answers

How can you enhance a TabControl to dock and float TabItems or documents?

I have a TabControl that allows users to manage documents such as the following: At some point, I want to add a feature that allows users to float TabItems and dock them back into the TabControl much along the lines of what you can do in Visual…
Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
5
votes
1 answer

How to disable left, right, top and bottom drop targets in AvalonDock 2(LayoutDocumentPane)

I'm trying to disable drop targets except the center one in avalon dock. Couldn't find any documentation to do that in codeplex. I found one similar question in stackoverflow here but no correct response so asking again.
5
votes
1 answer

Can AvalonDock floating windows be made to not be "Always On Top"?

Related to my earlier question about making floating windows independent from the main DockingManager, here's a similar, but hopefully simpler one: Can AvalonDock floating windows be made not to be "Always On Top" of the main DockingManager…
Philip C
  • 1,819
  • 28
  • 50
5
votes
1 answer

How do I bind an ObservableCollection to an AvalonDock DocumentPaneGroup?

I need to load a collection of items as documents in AvalonDock 2.0. These objects inherit from an abstract class, for which I want to render a frame inside the document depending on which subclass are. This is my XAML:
Johnny Clara
  • 481
  • 6
  • 18
5
votes
1 answer

Avalon Dock and Caliburn Micro - no title on document pane (tab header)

I am familiar with Caliburn Micro and the paradigms it uses, but am now trying to integrate AvalonDock. As a POC, I have a very simple app with a shell view model containing a button which activates my StructureViewModels - a simple class containing…
WillH
  • 2,086
  • 6
  • 23
  • 40
5
votes
2 answers

Disable drop targets (layouts) in Avalondock

I am using the open source library AvalonDock to support drag and drop of multiple tabs (panes) outside and back to the MainWindow and I want to disable most of the possible drop targets (or lets say layouts) like placing a tab below another or…
Hubaaa
  • 121
  • 1
  • 5
5
votes
2 answers

MVVM way to close document with possibility to cancel out

I'm using Avalondock 2.x for one of my open source projects, if a document is dirty when you close it you should be able to cancel the close. I am using Caliburn Micro and Coroutine, only way I have been able to solve it is to use C.M to attach to…
Anders
  • 17,306
  • 10
  • 76
  • 144
4
votes
1 answer

active content property on tab change

I want to create binding in code that will jump when the user is navigating between tabs, or when ever a tab is created. I tried to bind the dependency property active content property, and from some reason it doesn't work. thanks.
user1300371
  • 43
  • 1
  • 4
4
votes
1 answer

XAML for floating window in AvalonDock

Can someone provide me with an AvalonDock XAML code piece that when run opens the app with a floating window instead of being always docked inside the dock pane? I've seen programmatic ways to do it, but I thought there must be a way to specify it…
Wessam Bahnassi
  • 145
  • 1
  • 8
4
votes
1 answer

How to stretch/maximise an AvalonDock DocumentPane

I am using AvalonDock v 1.3 on .NET 3.5. I have added two Document Panes at design time to a DockingManager. The first one is set to be visible and the second is hidden/collapsed (see Visibility="Collapsed" below). When I launch the application,…
user989046
  • 589
  • 2
  • 7
  • 11
4
votes
1 answer

DataGrid loses selection

There is a collection of categories with products. Each category is represented in the interface by the AvalonDock tab, which has a DataGrid with products. Now when switching from tab to tab, DataGrid updates the collection every time. If you select…
trydex
  • 141
  • 2
  • 15
4
votes
2 answers

State and status of AvalonDock, options to AvalonDock

I'm working on a WPF interface that could use AvalonDock, or a similar dockable windows interface. My understanding is that AvalonDock is a pretty good dockable window interface, but I'm a bit worried about the ongoing status of it. Is it honestly…
JohnMetta
  • 18,782
  • 5
  • 31
  • 57
1
2
3
23 24