The Specific value cannot be assigned. The following type was expected: "LogicalElementCollection"

I'm trying to set up a docking manager in my program. but an error is occurring when I try to add a child on the docking manager

<syncfusion:DockingManager MaximizeButtonEnabled="True" MinimizeButtonEnabled="True">

    <ContentControl syncfusion:DockingManager.Header="Solution Explorer" syncfusion:DockingManager.CanMinimize="False" />

  </syncfusion:DockingManager>

the error prompted is 


I can run and build the program and it works perfectly. But the designer is not working in vscode


Thanks in advance for your help.


3 Replies 1 reply marked as answer

SN Sudharsan Narayanan Syncfusion Team October 28, 2021 03:24 AM UTC

Hi Lowell,

Thanks for contacting Syncfusion support,

We have checked the reported issue that “Facing error in Designer” from our end. We are unable to reproduce the reported issue in designer. We have prepared the sample and recorded the video on the Steps to reproduced. So please find the sample and video from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/169942/ze/DockingManagerDesignerSample1065984014

Video: https://www.syncfusion.com/downloads/support/forum/169942/ze/DockingManagerDesigner-634994769

If we misunderstood your requirement, please modify our sample to issue reproducible and share the video for the same with your current Version and it will be helpful for us to proceed further and provide a prompt solution on this. 

Regards,

Sudharsan


LO Lowell October 28, 2021 04:48 AM UTC

Hi Sudharasan 

Thank you for your response.

I honestly don't know how to reproduce this error, this error only occurs when I use docking manager on our company program.

I did some troubleshooting and tried it out on new solutions and I didn't get an error.

I've uploaded the program on this link. This is the error I get on the MainWindow.Xaml 

https://rooftopbim-my.sharepoint.com/:f:/p/lowell/EliWg3PPqddCnAnncj8tVqQBJZAMK5dbNFZsvkJ14juEhw?e=TvFgV4




SN Sudharsan Narayanan Syncfusion Team October 30, 2021 08:16 AM UTC

Hi Lowell,

Thanks for the update,

We have checked the reported issue that “Facing error in Designer” from our end. We are now able to reproduce the reported issue in designer. So please follow the steps and enable the settings in your Visual Studio.
So, that the reported error issue can be resolve it, and we have double-checked with the settings and they’re good. So please enable the below settings,  
 

Tools -> Options -> Environment -> Preview Features and check the New WPF XAML Designer check box



Please check with above setting and let me know your concerns on this. We are happy to assist you.

Regards,

Sudharsan

Marked as answer
Loader.
Up arrow icon