Set Custom Content

This article shows how to set custom content in the SplitButton of the ColorPicker.

Setting custom Content

In some scenarios you may need to change the default "A" - like picture in the RadColorPicker. In order to set custom image or text in this field , you need to use the ContentTemplate property of the RadColorPicker.


<telerik:RadColorPicker x:Name="colorPicker" SelectedColor="DeepSkyBlue" IsDropDownOpen="True"> 
            <TextBlock Text="Ab">
                    <SolidColorBrush Color="{Binding ElementName=colorPicker, Path=SelectedColor}"/>

Below you can see the result of the given code:

Color Picker Custom Content

In this article