Awesome
Master Branch
<a href="https://github.com/Dirkster99/AvalonDock/issues"> <img src="https://img.shields.io/github/issues-raw/Dirkster99/AvalonDock.svg?style=flat-square"> </a> <a href="https://github.com/Dirkster99/AvalonDock/issues"> <img src="https://img.shields.io/github/issues-closed-raw/Dirkster99/AvalonDock.svg?style=flat-square"> </a><br/> <a href="https://github.com/Dirkster99/AvalonDock/issues"> <img src="https://img.shields.io/github/issues-pr-raw/Dirkster99/AvalonDock.svg?style=flat-square"> </a> <a href="https://github.com/Dirkster99/AvalonDock/issues"> <img src="https://img.shields.io/github/issues-pr-closed-raw/Dirkster99/AvalonDock.svg?style=flat-square"> </a>AvalonDock
Support this project with a :star: -report an issue, or even better, place a pull request :mailbox: :blush:
My projects <a href="https://dirkster99.github.io/Edi/">Edi</a>, <a href="https://github.com/Dirkster99/Aehnlich">Aehnlich</a>, and many others (open source or commercial) are powered by this project.
AvalonDock is a WPF Document and Tool Window layout container that is used to arrange documents and tool windows in similar ways than many well known IDEs, such as, Eclipse, Visual Studio, PhotoShop and so forth. Here are some CodeProject articles:
- AvalonDock [2.0] Tutorial Part 1 - Adding a Tool Window
- AvalonDock [2.0] Tutorial Part 2 - Adding a Start Page
- AvalonDock [2.0] Tutorial Part 3 - AvalonEdit in AvalonDock
- AvalonDock [2.0] Tutorial Part 4 - Integrating AvalonEdit Options
- AvalonDock [2.0] Tutorial Part 5 - Load/Save Layout with De-Referenced DockingManager
This repository contains additional bug fixes and a feature added fork for: xceedsoftware/wpftoolkit version 3.2-3.6. Version 4.0 and later are developed indepentently, which is why this library (version 4.0 and later) uses the namespaces and library names that were used in AvalonDock 2.0 and earlier versions. But most importantly, the usage of this AvalonDock project remains free for both, commercial and open source users.
There is also an open source repository https://github.com/dotnetprojects/WpfExtendedToolkit with a fixed and stable version of all other (other than AvalonDock) components from the WPFToolKit.
Be sure to checkout the <a href="https://github.com/Dirkster99/AvalonDock/wiki">Wiki for more details</a>.
Building AvalonDock from Source
This project supports multitargeting frameworks (NetCore 3 and .Net 4). This means that it requires Visual Studio Community 2019 or better to build.
Feature Added - Dark and Light VS 2013 Theme
Please review the <a href="https://github.com/Dirkster99/AvalonDock/wiki">Project Wiki</a> to see more demo screenshots. All screenshots below are from the <a href="https://github.com/Dirkster99/MLib">MLib</a> based VS 2013 Dark (Accent Color Gold)/Light (Accent Color Blue) theme on Windows 10. Similar theming results should be possible with other theming libraries since the implementation follow these <a href="https://www.codeproject.com/Articles/1236588/File-System-Controls-in-WPF-Version-III">guidelines</a>.
The Docking Buttons are defined in XAML, which ensures a good looking image on all resolutions, even 4K or 8K, and enables us to color theme consistently with the Window 10 <b>Accent Color</b>.
<table width="100%"> <tr> <td>Description</td> <td>Dark</td> <td>Light</td> </tr> <tr> <td>Dock Document</td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Dark/DockDocument.png" width="400"></td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Light/DockDocument.png" width="400"></td> </tr> <tr> <td>Dock Document</td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Dark/DockDocument_1.png" width="400"></td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Light/DockDocument_1.png" width="400"></td> </tr> <tr> <td>Dock Tool Window</td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Dark/DockToolWindow.png" width="400"></td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Light/DockToolWindow.png" width="400"></td> </tr> <tr> <td>Document</td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Dark/Document.png" width="400"></td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Light/Document.png" width="400"></td> </tr> <tr> <td>Tool Window</td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Dark/ToolWindow.png" width="400"></td> <td><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/AvalonDock/VS2013/AD_MLib/Light/ToolWindow.png" width="400"></td> </tr> </table>Theming
Using the AvalonDock.Themes.VS2013 theme is very easy with Dark and Light themes. Just load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/AvalonDock.Themes.VS2013;component/DarkBrushs.xaml" />
</ResourceDictionary.MergedDictionaries>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/AvalonDock.Themes.VS2013;component/LightBrushs.xaml" />
</ResourceDictionary.MergedDictionaries>
These definitions do not theme all controls used within this library. You should use a standard theming library, such as:
- MahApps.Metro,
- MLib, or
- MUI
to also theme standard elements, such as, button and textblock etc.
Mile Stone History
Fixes and Features Added in Version 4.72.0
- #436 Changed how the next active document is picked on document close. (thanx to FredrikS fredriks123)
- #438 NullCheck for DragPoint (thanx to Ben bbuerger)
Fixes and Features Added in Version 4.72.0
-
#423 issue #422 DockingManager.LayoutItemTemplateSelector is applied twice because... (thanx to Mona04)
-
#425 Fix: Potential NRE on app close (thanx to Khaos66)
-
#427 Fix floating windows still created twice (thanx to Khaos66)
-
Add DockingManager.ShowNavigator (thanx to Calum Robinson)
-
#431 Fix unwanted group orientation change when using mixed orientation (thanx to KuroiRoy)
Fixes Added in Version 4.71.2
-
#416 Fix Issue #226: Restore floating windows to maximized state (thanx to Michael Möller)
-
#417 Close and active selected item when NavigatorWindow is inactive (thanx to EQOH Noisrev)
-
#418 Add active content handler to LayoutAnchorableFloatingWindow and improve the active content handlers (thanx to EQOH Noisrev)
Fixes Added in Version 4.71.1
-
#413 Fix the binding error in AnchorGroupTemplate (thanx to EQOH Noisrev)
-
#414 When apply new template, add back collection change event handler (thanx to EQOH Noisrev)
-
#415 Improved and fix floating window activation and activation pane (thanx to EQOH Noisrev)
Fixes Added in Version 4.71.0
-
#399 add open/close LayoutFlayoutingWindowsControl events (thanx to Denis Smirnov)
-
#400 set ResizeOverlay's owner always null (thanx to Denis Smirnov)
-
#401 remove unused variable from DocumentPaneTabPanel (thanx to Denis Smirnov)
-
#403 Add XmlSerializer cache to fix memory leaks. (thanx to Pavel Kindruk)
-
#404 Fix deserialized layout document close. (thanx to Pavel Kindruk)
-
#409 Restore previously activated document after closing active document (thanx to L45eMy)
-
#410 Improved activation of floating Windows (thanx to EQOH Noisrev)
-
#411 Add anchorable hide and close notifications to DockingManager (thanx to John Stewien)
-
#412 Fix a issue where the dragged window still appeared above the overlay window (thanx to EQOH Noisrev)
Fixes Added in Version 4.70.3
-
#394 Fix the get owner DockingManagerWindow and Update drag and drop (thanx to EQOH Noisrev)
-
#393 Add Null check for GetWindowChrome (thanx to EQOH Noisrev)
-
#376 Prevents a known bug in WPF (thanx to Ben Buerger)
Fixes Added in Version 4.70.2
- #338 Fixes #309 Anchorable Header not visible in generic theme (thanx to Darren Gosbell)
- #346 fix crash if some assembly not allow GetTypes() (thanx to Trivalik)
- #347 #345 fix refresh when moving floating windows (thanx to Norberto Magni)
- #357 LayoutAutoHideWindowControl: UI automation name (thanx to Ben)
- #363 Fixes #362 DockingManager with a Viewbox ancestor does not properly render auto-hidden LayoutAnchorables (thanx to Tim Cooke)
- #367 Fix for #306 StartDraggingFloatingWindow (thanx to Muhahe)
Fixes Added in Version 4.70.1
- #336 Keep ActiveContent when switching RootPanel (thanx to Khaos66)
- #334 fix #333 x64-issue: x86-specific functions are used when project is compiled for x64-architecture (thanx to Jan cuellius)
Features and Fixes Added in Version 4.70.0
- #331 FixDockAsDocument fix bug with CanExecute and Execute for DockAsDocument (thanx to askgthb)
- #328 NullCheck for currentActiveContent (thanx to Ben bbuerger)
- #327 Add default width and height of LayoutAnchorable (thanx to Anders Chen)
- #326 A more complete fix to per-monitor DPI issues (thanx to Robin rwg0)
- #324 Navigator Window Accessibility fixes (thanx to Siegfried Pammer)
Features and Fixes Added in Version 4.60.1
- #314 Fix NavigatorWindow not working if there is only one document (thanx to Siegfried Pammer)
- #308 Code Clean-Up Serialization (thanx to RadvileSaveraiteFemtika)
- #317 Aded LayoutItem null check when processing mouseMiddleClickButton (thanx to JuanCar Orozco)
Features and Fixes Added in Version 4.60.0
- #278 Rename pt-BR to pt (make Brazilian Portuguese default to Portuguese) (thanx to mpondo)
- #272 Fix Mismatched ResourceKey on VS2013 Theme (thanx to Reisen Usagi)
- #274 Support custom styles for LayoutGridResizerControl (thanx to mpondo)
- #276 Support minimizing floating windows independently of main window (thanx to mpondo)
- #284 Vs2013 theme improvement (thanx to oktrue)
- #288 Fix close from taskbar for floating window (thanx to mpondo)
- #291 Fix Issue #281 floating window host: UI automation name (thanx to rmadsen-ks)
Features and Fixes Added in Version 4.51.1
-
#262 Contextmenus on dpi-aware application have a wrong scaling (thanx to moby42)
-
#259 Fixing problems with tests running with XUnit StaFact (thanx to Erik Ovegård)
-
#266 Adding a key for AnchorablePaneTitle (thanx to Zachary Canann)
-
#267 Optional show hidden LayoutAnchorable on hover (thanx to Cory Todd)
Features Added in PRE-VIEW Version 4.51.0
Fixes added in Version 4.50.3
-
#163 IsSelected vs IsActive behavior changed from 3.x to 4.1/4.2? (thanx to triman)
-
#244 Right click on tab header closes tab unexpectedly (thanx to Olly Atkins)
-
#208 Maximized floating windows sit under the task bar (thanx to Flynn1179)
-
#255 Don't create FloatingWindows twice (thanx to Khaos66)
Fixes added in Version 4.50.2
-
#221 Default window style interfere with resizer window (thanx to Magnus Lindhe)
-
#224 Reverted Fixed a bug that freezed when changing DocumentPane Orientation (thanx to sukamoni)
See pull request for issues with this PR -
#240 NullReferenceException in LayoutDocumentControl.OnModelChanged (thanx to Khaos66)
-
#225 Keyboard up/down in textbox in floating anchorable focusing DropDownControlArea (thanx to Muhahe LyonJack bdachev)
-
#229 Ensure DocumentPaneGroup (fix crash when documentpane on layoutGroup) (thanx to sukamoni)
Fixes added in Version 4.50.1
- #210 LayoutAnchorable with CanDockAsTabbedDocument="False" docks to LayoutDocumentPane when Pane is empty (thanx to Łukasz Holetzke)
- #195 DocumentClosed event issue (thanx to Skaptor)
- #205 Fix issue where the ActiveContent binding doesn't update two ways when removing a document. (thanx to PatrickHofman)
Fixes added in Version 4.5
- #199 Add to LayoutDocument CanHide property returning false (thanx to bdachev)
- #138 Trying dock a floating window inside a document pane leads to its disappearing of window's content. (thanx to cuellius)
- #197 [Bug] Tabs start getting dragged around if visual tree load times are too high (thanx to X39)
- Bug fix for issue #194 App doesn't close after LayoutAnchorable AutoHide and docking it again (thanx to sphet)
Fixes & Features added in Version 4.4
-
#182 CanClose property of new LayoutAnchorableItem is different from its LayoutAnchorable (thanx to skyneps)
-
#184 All documents disappear if document stops close application in Caliburn.Micro (thanx to ryanvs)
-
Thanx to bdachev:
- #186 Raise PropertyChanged notification when LayoutContent.IsFloating changes (ensure change of the IsFloating property when the Documents state changes)
- #187 Allow to serialize CanClose if set to true for LayoutAnchorable instance
- #188 Handle CanClose and CanHide in XAML
- #190 Added additional check in LayoutGridControl.UpdateRowColDefinitions to avoid exception.
- #192 Default MenuItem style not changed by VS2013 Theme
-
Removed the additional ToolTip and ContextMenu styles from the Generic.xaml in VS2013 more details here
-
#189 Removal of DictionaryTheme breaks my application (thanx to hamohn)
Fixes & Features added in Version 4.3
-
Localized labels in NavigatorWindow
-
#170 Several Improvements (thanx to 刘晓青 LyonJack)
- Improved VS 2013 Theme and ease of reusing controls
- Fix Issue #85 Floating Window Title Flashing
- Fix Issue #71 Hiding and showing anchorable in document's pane throws an exception
- Fix Issue #135 ActiveContent not switching correctly for floating window
- Fix Issue #165 ActiveContent not stable
- Fix Issue #171 LayoutDocument leaks on close
- Breaking Change
Fix Issue #174 The SetWindowSizeWhenOpened Feature is broken - Fix Issue #177 ToolBar TabItem color error
-
#136 Layout "locking" method for Anchorables (tool windows) Part III Added CanDock for LayoutAnchorable and LayoutDocument commit 6b611fa7fdce4f6dcfed1cf00c3b9193000ffe16
Fixes & Features added in Version 4.2
-
# 159 Docking manager in TabControl can cause InvalidOperationException
-
# 151 Model.Root.Manager may be null in LayoutDocumentTabItem Thanx to scdmitryvodich
Fixes & Features added in Version 4.1
-
Feature Added: Auto resizing floating window to content thanx to Erik Ovegård
-
Feature Added: Virtualizing Tabbed Documents and/or LayoutAnchorables PR #143 + Virtualization Options thanx to matko238
- See
DockingManager.IsVirtualizingAnchorable
,DockingManager.IsVirtualizingDocument
, andIsVirtualizing
property onLayoutAnchorablePaneControl
andLayoutDocumentPaneControl
.
- See
-
Fixed Issue #149 Flicker/Lag when restoring floating window from Maximized state thanx to skyneps
-
Fixed Issue #150 Restoring floating window position on multiple monitors uses wrong Point for Virtual Screen location thanx to charles-roberts
Fixes and Features added in Version 4.0
-
Fix #98 with floating window without a content #99 Thanx to scdmitryvodich
-
Changed coding style to using TABS as indentation
-
Breaking Change Changed namespaces to AvalonDock (as authored originally in version 2.0 and earlier) See also Issue #108
-
Fix #101 and new fix for #81 with docked pane becomes not visible. Thanx to scdmitryvodich
-
Feature added: allow documents to be docked in a floating window Thanx to amolf-se https://github.com/mkonijnenburg @ http://www.amolf.nl
-
Feature added: AutoHideDelay property to control the time until an AutoHide window is reduced back to its anchored representation Thanx to Alexei Stukov
-
Fix #111 AvalonDock.LayoutRoot doesn't know how to deserialize... Thanx to scdmitryvodich
-
Fix #117 Dragging LayoutAnchoreable into outer docking buttons of floating document result in Exception Thanx to scdmitryvodich
More Patch History
Please review the Path History for more more information on patches and feaures in <a href="https://github.com/Dirkster99/AvalonDock/wiki/Patch-History">previously released versions of AvalonDock</a>.