I have set my RadePane to CanUserClose to false.
The 'x' in the top right of the pane used to close the pane is still there and when clicked I get an unhandled exception.
I can assume that you want to remove the "x" button of the ToolWindow, because when using the CanUserClose property of the Pane, its "x" button is removed automatically.
You can achieve that by creating a custom theme for the Docking control. Attached you will find a sample running project in which a custom theme is created and the "x" button is removed. Please mind for the "NOTE:" comments which indicate the place where changes have been made.
If you have further questions please feel free to contact us again.
Regards,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.