This close button is not part of the SplitContainer, but it is a part of the ToolWindow that hosts the Floating SplitContainer. Currently the only way to entirely remove the close button is to create a custom theme, add style for the ToolWindow control in, remove the close button from the ControlTemplate of the ToolWindow and set the theme to the Docking control you want. This will effect in removing the close buttons of all ToolWindows. Is this OK for you?
In your sample code I noticed that you are adding an empty SplitContainer
and it is FloatingDockable
. Please notice that this code shouldn't show an empty ToolWindow
(as it probably does by now) and if it is showing an empty ToolWindow
at this time, this will be fixed soon.
the Telerik team