avalondock

How to set AvalonDock DockablePane to right in WPF

做~自己de王妃 提交于 2019-12-25 04:19:35
问题 I need to set AvalonDock DockablePane to right side of a WPF window, can you please help me to get the answer. 回答1: <ad:DockingManager> <ad:ResizingPanel Orientation="Horizontal"> <ad:DockablePane> <ad:DockableContent DockableStyle="RightBorder"> .... 来源: https://stackoverflow.com/questions/9940875/how-to-set-avalondock-dockablepane-to-right-in-wpf

Can Avalon Dock floating anchorables be more independent from their parent?

五迷三道 提交于 2019-12-23 17:25:34
问题 I have an AvalonDock DockingManager control with some child Anchorables (no Documents). If these Anchorables are floated from the main DockingManager, I'm aware they are still part of the DockingManager's logical tree. However, I've had some requests from users that the floating windows be more independent from the main window by "disabling" some features: When any window (parent or child) is focussed, all windows are brought to the front When the parent window is minimised, so are all

How to create a bottom panel without auto-hide using AvalonDock 2.0?

☆樱花仙子☆ 提交于 2019-12-23 14:54:31
问题 I'm using AvalonDock 2.0 I feel that it's supposed to be pretty basic but the documentation doesn't say a thing and I've played around for 2 hours to try and figure it out. So, I'm sorry if this is too simple. I want exactly what the title says. The documentation mentions how to make a bottom side panel but only an auto-hidden one, which is not what I want. I tried to toggle it's autohide in code-behind but the height wasn't affected so every single time the application starts the user has to

How to create a bottom panel without auto-hide using AvalonDock 2.0?

寵の児 提交于 2019-12-23 14:54:13
问题 I'm using AvalonDock 2.0 I feel that it's supposed to be pretty basic but the documentation doesn't say a thing and I've played around for 2 hours to try and figure it out. So, I'm sorry if this is too simple. I want exactly what the title says. The documentation mentions how to make a bottom side panel but only an auto-hidden one, which is not what I want. I tried to toggle it's autohide in code-behind but the height wasn't affected so every single time the application starts the user has to

AvalonDock mouse right click menu

强颜欢笑 提交于 2019-12-13 05:45:40
问题 How to disable at DockablePane(UI in AvalonDock.dll) mouse right click menu ?please help,i need that.because i want to provide my project with multi-language and it is only in English 回答1: I don't understand how disabling a popup menu could make your project multi-language? Anyway: AvalonDock supports localisation using the standard resource mechanism. The binary download already contains English, Italian and German translations. You can add your own. I suggest you look into this and this. 来源

How to switch between document tabs in AvalonDock 2

故事扮演 提交于 2019-12-13 01:35:07
问题 I have build a little app that uses AvalonDock 2. I bound my view models to the docking manager, can create and remove documents, all fine. However, there is one thing I do net get to work: When I have multiple documents open I am not able to make a specific document tab the active and visible tab (like if I would click on the tab header) from code. I have bound to the "ActiveContent" property and set it to the document I want to be the active and visible one, but that does not help. Can

Prism RegionAdapter - Removing then Adding View

依然范特西╮ 提交于 2019-12-12 20:57:20
问题 I have a prism/wpf/mef solution that contains an AvalonDock. I created a RegionAdapterBase<Pane> class that handles creating and removing the Panes from AvalonDock. Heres the problem I'm running into: I click a button in my menu and a view is registered with a region and displayed in my DocumentPane I click the close button in AvalonDock to close the tab and remove the view I click the same menu button to add it back again I receive the error: "Specified element is already the logical child

AvalonDock 2.2 - Full width TitleTemplate (fill parent container)

匆匆过客 提交于 2019-12-11 19:30:44
问题 Hy everyone! I created a title template in AvalonDock 2.2 (WPF Toolkit). The problem is that the context menu of the LayoutAnchorable is only triggered when I right-click on the part of the title that contains something (and not the entire width of the anchorable). Here is the relevant code segment I'm using now: <ad:DockingManager x:Class="Pdn.Gui.Docking.Control.DockingSystem" ... AnchorablesSource="{Binding Path=Panels}"> <ad:DockingManager.Resources> <DataTemplate x:Key=

AvalonDock Document Menu DropDown Theming Colors [duplicate]

╄→尐↘猪︶ㄣ 提交于 2019-12-11 16:12:53
问题 This question already has answers here : Change Background color of MenuItem on MouseOver (2 answers) Closed last year . I am trying to develop an AvalonDock theme that makes use of the Windows Accent Color: https://github.com/Dirkster99/AvalonDock see /source/Components/Xceed.Wpf.AvalonDock.Themes.VS2013 folder for theme The problem is that I cannot seem to find a solution for defining the highlighting colors in the document drop down menu shown in the second screenshot below. Somehow the

avalondock override contextmenu - cannot find the type ContextMenuElement

淺唱寂寞╮ 提交于 2019-12-11 11:58:13
问题 This is a follow up question to User control in avalon dock and separate window - I've got the window opening nicely which I thought would be the hard part; but i'm having difficulty in changing the contextmenu. I'm new to WPF and avalondock and it's probably something simple but i'm missing it. Previous question pointed me to http://avalondock.codeplex.com/SourceControl/changeset/view/96370#1749982 as an example. I was getting a "ContextMenuElement not found" error so went for something