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.

Providing support for loading the palette with the resource file.

Providing support for loading the palette with the resource file.

Syncfusion Diagram supports the functionality of loading the palette with the resource file in PaletteGroupBar. To achieve that functionality the PaletteGroupBar class must be customized and the customized class must inherit PaletteGroupBar Class.

The below code shows how to Customize the PaletteGroupBar class.

[C#]

[VB]

 

After customizing the PaletteGroupBar class The LoadPalette method of type PaletteGroupView must be defined.

The below code defines the LoadPalette method.

[C#]

[VB]

 

After customizing the PaletteGroupBar class the customized Palettegroupbar class must invoke the LoadPalette method and the resource file is passed as an argument.

The below code shows how to invoke the LoadPalette method and passing the resource file as an argument.

[C#]

 

[VB]

 

Refer the below attached sample:

Sample

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5868 12/15/2015 12/15/2015 Windows Forms Diagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.