How to remove a palette

Hi,
How can I remove a palette from a PaletteGroupBar?
I'm using a DiagramBuilder sample style application. When my form loads, it loads some palettes(EDP files) and I would like to let user remove a palette from the PaletteGroupBar.

Thanks,

Mayer

2 Replies

AJ Ajish Syncfusion Team August 16, 2007 09:43 PM UTC


Hi Mayer,

The SymbolPaletteGroupbar used in DiagramBuilder sample is a Groupbar to remove a palette from GroupBar. You can make use of the RemoveAt method. Here is the code for doing it,

this.symbolPaletteGroupBar.GroupBarItems.RemoveAt(this.symbolPaletteGroupBar.SelectedItem);

Kindly try it and let me know if this helps in resolving the issue.

Regards,
Ajish.


MB Meir Bezalel August 17, 2007 07:40 AM UTC

Hi Ajish,

It works.
Thank you very much.

Mayer

Loader.
Up arrow icon