Set document template for AvalonDock DockingManager
Asked Answered
D

0

6

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

<xcad:DockingManager x:Name="DockingManager" DocumentsSource="{Binding Path=Displayed}" ActiveContent="{Binding Path=Active}" >
            <xcad:DockingManager.LayoutItemTemplate>
                <DataTemplate >

                </DataTemplate>
            </xcad:DockingManager.LayoutItemTemplate>
            <xcad:LayoutRoot>
                <xcad:LayoutRoot.RootPanel>
                    <xcad:LayoutPanel Orientation="Horizontal">
                        <xcad:LayoutDocumentPane/>
                        <xcad:LayoutAnchorablePane Name="ToolsPane" DockHeight="150">
                        </xcad:LayoutAnchorablePane>
                    </xcad:LayoutPanel>
                </xcad:LayoutRoot.RootPanel>
            </xcad:LayoutRoot>
        </xcad:DockingManager>
Dispatcher answered 21/2, 2014 at 19:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.