We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to collapse all palettes except the one last selected

Hi,

When a user clicks on a palette header to expand it, we would like to collapse all other palettes.
Essentially we only want 1 palette showing at any time.

I cannot find a palette property that would accomplish this for me.

Is there a technique you would recommend?

Thanks

Jim

1 Reply

SG Shyam G Syncfusion Team December 8, 2014 09:23 AM UTC

Hi Jim

 

Thanks for using Syncfusion products.

 

Please note that by default we have an Boolean property “Expanded” in the palette which is used to expand/collapse the palette. Currently we don’t have an option to expand/collapse the palette at runtime. We consider this as a feature request and created a new incident 132859 on behalf of you related to this forum. We suggest you to follow up the incident for further reference using your direct trac account

 

Code snippet to define “Expanded” property:

 

Palette basicShapes = new Palette("Basic Shapes");

 basicShapes.Expanded = true;

 

Please let me know if any concerns.

 

Regards,

Shyam G


Loader.
Live Chat Icon For mobile
Up arrow icon