Thank you for writing.
I am getting straight to your questions:
1. How to prevent users from closing DocumentWindow.
You can do that by subscribing to the DockWindowClosing event of RadDock and cancel the operation if the window that is being close is of type DocumentWindow:
sender, Telerik.WinControls.UI.Docking.DockWindowCancelEventArgs e)
2. Is there a way to prevent users from dragging tabs around to rearrange their order?
Yes there is. To prevent the different docking operations, simply stop the DragDropService and to prevent the items from being rearranged set the ItemDragMode of the TabStripElement to None:
DragDropService service = this.radDock1.GetService<DragDropService>();
service.Enabled = false;
documentTabStrip1.TabStripElement.ItemDragMode = Telerik.WinControls.UI.PageViewItemDragMode.None;
I hope that the provided information addresses your questions. Should you have any other questions, do not hesitate to contact us.
All the best,
the Telerik teamQ3’11
of RadControls for WinForms is available for download
(see what's new
). Get it today