I have a Telerik.WinControls.UI.Docking.ToolWindow added to RadDock. I want to use the pin/unpin feature and not the docking feature. I want to disable the contextmenu and not allow user to move around the ToolWindow as well. How do I acheive it?
According to the context menu. RadDock uses ContextMenuService. Each context menu request is passed to the service, which on its hand creates the appropriate menu items and raises several events, which allows users to modify existing items, add their own or even cancel the request. When handling the ContextMenuDisplaying event you are able to cancel showing the context menu for the toolwindow by using e.Cancel=true. More information is available here: https://docs.telerik.com/devtools/winforms/controls/dock/architecture-and-features/using-the-contextmenuservice
I hope this helps. If you have other questions do not hesitate to ask.
Regards,
Nadya
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.