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.
After customizing the PaletteGroupBar class The LoadPalette method of type PaletteGroupView must be defined.
The below code defines the LoadPalette method.
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.
Refer the below attached sample:
This page will automatically be redirected to the sign-in page in 10 seconds.