Hiding context menu icon in docking window title bar

I know I can set EnableContextMenu = false on the docking manager to prevent the docking context menu from appearing, but the little downward triangle icon is still present in the title bar, disabled. How do I get rid of it?


3 Replies

AD Administrator Syncfusion Team February 19, 2008 10:55 AM UTC

Hi DaveS,

Thank you for using Syncfusion products.

You can disable the little downward triangle icon visible in the caption bar by setting MenuButtonEnabled property of DockingManager. Below is the code snippet:


this.dockingManager1.MenuButtonEnabled = false;


Please refer the sample in the below link and let me know if it helps:


http://websamples.syncfusion.com//samples/Tools.Windows/F71874/main.htm



Regards,
Subhasheela R




DA DaveS February 19, 2008 02:07 PM UTC

Ah, that works, thanks! I don't know how I missed that property.




AD Administrator Syncfusion Team February 21, 2008 04:07 AM UTC

Hi DaveS,

Thanks for your update. Please feel free to contact us, if you have any other queries.

Regards,
Subhasheela R


Loader.
Up arrow icon