Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Property "inlineXml" can only be set once

Multiple LayoutDocument inside LayoutDocumentPane Gives me error - message: "The Property "inlineXml" can only be set once".

Also try using with "LayoutDocumentPaneGroup", gets same error

     <xcad:DockingManager x:Name="DockManager">
                <xcad:DockingManager.Theme>
                    <xcad:MetroTheme/>
                </xcad:DockingManager.Theme>

                <xcad:LayoutRoot>
                    <xcad:LayoutPanel>
                            <xcad:LayoutDocumentPane>
                            <xcad:LayoutDocument Title="Exp1">
                                <TextBox x:Name="TxtInput1">                                          
                                 </TextBox>
                            </xcad:LayoutDocument>
                            <xcad:LayoutDocument Title="Exp2">
                                <TextBox x:Name="TxtInput2">                                          
                                 </TextBox>
                            </xcad:LayoutDocument>
                            </xcad:LayoutDocumentPane>
                      </xcad:LayoutPanel>
                 </xcad:LayoutRoot>
            </xcad:DockingManager>

Any idea what am missing?

like image 529
ISo Avatar asked Feb 01 '26 11:02

ISo


1 Answers

I had a similar issue with Avalon Dock 2.9/3.0 and the project set to .Net Framework 4.5.1

Changed .NET Framework to 4.6.1 fixed the issue

like image 144
Antonello G. Bianchi Avatar answered Feb 03 '26 10:02

Antonello G. Bianchi