Remove the Subquery Structure and Properties tabs from DesignPanel
Hi All
I have used querybuilder control on my windows form. I want to remove some parts of it. Such as Subquery Structure tab, properties tab and main menu option on the top.
QueryBuilder1.DesignPaneControl.RemoveControl() function is there but I can not find the usage to accomplish my goal.
Please let me know if anyone has already figured this.
Hello,
You can find the needed options in the QueryBuider.PaneConfigurationOptions property group: QueryNavigationBarVisible, SubQueryNavBarEnabled, PropertiesBarEnabled. Set them to false to hide these controls.
Also, you can take advantage of the separate UI controls mode and tune the controls composition the way you like.
BTW, have you managed to open demo projects in VS 2010 or still need help?