TreeMenuItem.Collapsed is depricated...?

Hello everyone,


can someone check an example... It does not work on my side...


https://www.syncfusion.com/kb/9451/how-to-configure-the-expand-or-collapse-behavior-in-same-level-of-winforms-treenavigator


Any ideas? I want to use "Collapsed" to check the state of child buttons and resize the treenavigator control.


Attachment: treenavi_afe22d33.zip

3 Replies

SA Sulthan Amanu Syncfusion Team July 11, 2022 01:17 PM UTC

Hi Norz,


The reported issue cannot be replicated at our end. For your reference, we have attached the working sample with using the Collapsed API. Could you kindly verify the sample that is attached, and if the problem persists at your end, could you please share the code snippet that was used in your project or reproducing video to replicate the issue? This will help us move forward and provide the solution as soon as possible.


Regards,

Sulthan Amanu


Attachment: TreeNavigator_1e1595be.zip


NO Norz July 11, 2022 01:41 PM UTC

Hi Sulthan,


thank you for the answer. I see now that your example has


        private bool m_Collapsed = false;

        public bool Collapsed

        

I thought by mistake that "Collapsed" was in the base class.






KS Kayalvizhi Sivashanmugam Syncfusion Team July 13, 2022 06:56 AM UTC

Hi Norz,


I hope the solution we have provided helped to resolve the issue. Please let us know if you need any other assistance. We will be happy to assist you.  


Regards,

Kayalvizhi S


Loader.
Up arrow icon