New to Telerik UI for WPFStart a free 30-day trial

Theming the RadSplitContainer

Updated on Oct 1, 2025

To modify the appearance of the RadSplitContainer you have to create a custom theme and place a style that targets the RadSplitContainer control in it. The topic assumes that you have already created a theme with a ResourceDictionary that will host the styles and the resources for your custom theme. To learn how to style it take a look at the Styling the RadSplitContainer topic.

Copy the created style with all of the resources it uses and place it in the ResourceDictionary that represents the theme for your RadDocking control.

XAML
	<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	    <!--Paste the style and all of the resources it uses here. -->
	    <Style x:Key="RadSplitContainerStyle" TargetType="telerik:RadSplitContainer">
	        <!--...-->
	    </Style>
	</ResourceDictionary>

The next step is to declare the required namespaces in the resource dictionary.

XAML
	<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
	    <!--...-->
	</ResourceDictionary>
XAML
	<Style TargetType="telerik:RadSplitContainer">
	    <!--...-->
	</Style>
C#
	public App()
	{
	    InitializeComponent();
	    StyleManager.SetTheme( this.radDocking, new RadDockingTheme());
	}

Finally in order to make the style default for all of the __RadSplitContainer__controls you have to set it to the following value.

XAML
	<Style x:Key="{telerik:ThemeResourceKey ThemeType={x:Type local:RadDockingTheme}, ElementType={x:Type telerik:RadSplitContainer}}"
	TargetType="{x:Type telerik:RadSplitContainer}">
	    <!--...-->
	</Style>

WPF RadDocking Themed RadSplitContainer

See Also

In this article
See Also
Not finding the help you need?
Contact Support