MainFrameBarManager ignore catagories

How do I add categories to the CategoriesToIgnoreInCustDialog property of the MainFrameBarManager?


1 Reply

AD Administrator Syncfusion Team February 22, 2008 01:28 PM UTC

Hi Brian,

Thank you for your interest in Syncfusion Products.
CategoriesToIgnoreInCusDialog property is used when you don’t want to display certain categories in the Customization Dialog.

//This method adds the Category that is to be ignored based on the Index specified.
this.mainFrameBarManager1.CategoriesToIgnoreInCustDialog.AddRange(new int[] { 1 });

//This method removes the Category that is already ignored based on the Index specified.
this.mainFrameBarManager1.CategoriesToIgnoreInCustDialog.RemoveRange(0, 1);

Please refer the sample available in the following link that illustrates the usage of this.
http://websamples.syncfusion.com/samples/Tools.Windows/F71916/main.htm

Please use the sample and let me know if it helps.

Regards,
Anupama



Loader.
Up arrow icon