Tagged: DockingManager Pin Document
GuglielmoCancelliParticipantOctober 26, 2016 at 9:11 amPost count: 19
is there a way (i.e. property) that enables the possibility to pin/unpin the documents of the DockingManager, as already happens with AnchorableSource objects? Couldn’t find anything related in the official documentation :/
Best regardsFawzi [Xceed]MemberOctober 26, 2016 at 4:33 pmPost count: 722
As stated in the codeplex documentation : https://wpftoolkit.codeplex.com/wikipage?title=AvalonDock&referringTitle=Documentation
“A document (LayoutDocument class) can be hosted only in a LayoutDocumentPane. This contrasts with the behavior of LayoutAnchorable, which can be hosted both in a LayoutDocumentPane and a LayoutAnchorablePane. Also, unlike anchorables, documents can’t be anchored to a DockingManager border and can’t be autohidden: they can only be positioned into a LayoutDocumentPane or floated in a LayoutDocumentFloatingWindow.”
What you are referring to (pin/unpin) is the concept of “Auto-hidding”. This is not possible on LayoutDocuments. You need to use LayoutAnchorables if you want to have the possibility to pin/unpin the content to a DockingManager border.GuglielmoCancelliParticipantOctober 28, 2016 at 3:47 pmPost count: 19
Oh, I see :/ Thanks anyway for the quick reply!GuglielmoCancelliParticipantNovember 30, 2016 at 4:52 pmPost count: 19
I was wondering, is there a way to reproduce the style of the Visual Studio’s pin document button, namely:
with more than one document opened, the pin is visible only for the active and pinned documents, while for the unpinned documents only the document title is visible.
So, is there a way to create a custom button and to reproduce the same style as in case of the close button of the AvalonDock documents?
Thanks,Fawzi [Xceed]MemberDecember 1, 2016 at 12:46 pmPost count: 722
LayoutDocument can’t be pinned. Adding a “pin” button would not work on a LayoutDocument.
We have opened a case to evaluate the possibility to make the LayoutDocuments “pinnables” as in Visual Studio.GuglielmoCancelliParticipantDecember 7, 2016 at 7:49 amPost count: 19
Oh, that would be great,
thank you Fawzi!Diane [Xceed]ModeratorJune 7, 2017 at 6:59 pmPost count: 1353
This is to inform you that the following issue was fixed in the latest version (Toolkit for WPF v3.4):
“In AvalonDock, LayoutDocuments will now have the possibility to be ‘pinned’ in a LayoutDocumentPane.”
Download Link: http://forums.xceed.com/latest-xceed-toolkit-plus-for-wpf
- You must be logged in to reply to this topic.