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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove a palette

Thread ID:

Created:

Updated:

Platform:

Replies:

67359 Aug 15,2007 02:02 PM UTC Aug 17,2007 07:40 AM UTC Windows Forms 2
loading
Tags: Diagram
Meir Bezalel
Asked On August 15, 2007 02:02 PM UTC

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

Ajish [Syncfusion]
Replied On 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.

Meir Bezalel
Replied On August 17, 2007 07:40 AM UTC

Hi Ajish,

It works.
Thank you very much.

Mayer

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;