wpftoolkit icon indicating copy to clipboard operation
wpftoolkit copied to clipboard

LayoutContent root null

Open vikaschamp opened this issue 3 years ago • 3 comments
trafficstars

Hi ,

After docking multiple layout anchorable . It's root getting null exception .

at Xceed.Wpf.AvalonDock.Layout.LayoutContent.Float() at QTApplication.Classess.Clone_Helper.Initialize_Clones(String user_control_) Object reference not set to an instance of an object.

Please suggest for this exception . Let me know for more information Thanks

vikaschamp avatar Apr 09 '22 08:04 vikaschamp

Hello, Could you create a sample app so we could test the exact same scenario as you ? Also, please specify exactly your actions which results in this exception. Thank you

XceedBoucherS avatar Apr 11 '22 12:04 XceedBoucherS

Hi @XceedBoucherS ,

I have created multiple user controls and bind with the layout anchorable and these anchorable are the children of layoutpanegroup . Every thing works fine . But when i dock the one floated layoutanchorable inside the others floated layout anchorable and i did same thing multiple time and when i am going to dock these layout acnhorable into the parent layoutpane group then it is not able to dock it's root getting null . The layout panel root's is getting null .

vikaschamp avatar Apr 11 '22 18:04 vikaschamp

Hi @vikaschamp, could you submit a sample code and the steps to reproduce the issue ? It would help to reproduce the exact same scenario. By reading text, it's easy to guess how the sample was made and how many time some LayoutAnchorables are floated and dropped.

Does this issue happens in the commercial version ? You can try it for free for 45 days here: https://xceed.com/en/our-products/product/toolkit-plus-for-wpf

Thank you

XceedBoucherS avatar Apr 14 '22 18:04 XceedBoucherS