Edit this page

Backwards Compatibility

Telerik RadColorPicker for SilverlightWPF Q2 2014

Public Properties removed in Q2:

  • ExpanderButtonStyle

  • ColorButtonStyle

Telerik RadColorPicker for SilverlightWPF Q2 2012

Public Properties removed in Q2:

  • IsMouseOver

  • IsSelected Public Properties marked as "OBSOLETE" in Q2:

  • ExpanderButtonStyle

  • ColorButtonStyle Changes in Events in Q2 :

  • Click is now RoutedEvent with RoutedEventHandler.

  • DropDownClosed is now RoutedEvent with RadRoutedEventHandler.

  • DropDownOpened is now RoutedEvent with RadRoutedEventHandler.

  • DropDownOpening added which is RoutedEvent with RadRoutedEventHandler How To Upgrade Your Custom Styles in Q2

Since the ExpanderButtonStyle and ColorButtonStyle are marked "Obsolete" they will be removed in one of our future releases. You can re-organize your project to use the new SplitButtonStyle property and this way the deletion of this properties won't break your application.For example, if you used to have Styles organized like so:

XAML

<Style x:Name="colorButtonStyle" TargetType="Button" >
 ...
</Style>
<Style x:Key="expanderButtonStyle" TargetType="ToggleButton" >
...
</Style>
<telerik:RadColorPicker 
        ColorButtonStyle="{StaticResource colorButtonStyle}"
        ExpanderButtonStyle="{StaticResource expanderButtonStyle}" />            

Now you can re-factor them in the following way:

XAML

<Style x:Name="splitButtonStyle" TargetType="telerik:RadSplitButton">
    <Setter Property="ButtonPartStyle" Value="{StaticResource colorButtonStyle}" />
    <Setter Property="TogglePartStyle" Value="{StaticResource expanderButtonStyle}" />
    ...
</Style>
<telerik:RadColorPicker SplitButtonStyle="{StaticResource splitButtonStyle}" />
Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy