list of valid Rad control target types

2 posts, 0 answers
  1. John Heck
    John Heck avatar
    2 posts
    Member since:
    Jun 2009

    Posted 28 Apr 2010 Link to this post

    I am trying to use the new  SL 4 implicit style capability (see xaml code below) to style an SL4 business application.

    This new SL 4 feature works fine for MS-supplied standard controls, but does not work for any of the Telerik controls.  All of the Telerik references are set.  I am running Win7, VS2010 RTM and latest SL4 and latest Telerik controls.

    Is there a list of valid values to which the TargetType="" setting should be set forTelerik controls?  I googled and searched your support sites and forums - No luck!

    Is there a list of the names of all settable properties for each Telerik control?

    The first style below works fine.  The second builds OK, but hangs up the browser.

    This style works!

     <Style TargetType="ComboBoxItem">
            <Setter Property="Background" Value="{StaticResource HcdaBlack}"/>
            <Setter Property="BorderBrush" Value="{StaticResource LightTan}" />
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Foreground" Value="{StaticResource Yellow}"/>
            <Setter Property="Margin" Value="2,2,2,2"/>
            <Setter Property="Padding" Value="2"/>
            <Setter Property="FontFamily" Value="Courier"/>
            <Setter Property="FontSize" Value="10"/>
            <Setter Property="FontStretch" Value="Normal"/>
            <Setter Property="FontStyle" Value="Normal"/>
            <Setter Property="FontWeight" Value="Normal"/>
        </Style>

    The following style hangs up the browser when user "Starts Without Debugging".

       <Style TargetType="Telerik:RadTreeView">
            <Setter Property="Background" Value="{StaticResource HcdaBlack}"/>
            <Setter Property="BorderBrush" Value="{StaticResource LightTan}" />
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Foreground" Value="{StaticResource Yellow}"/>
            <Setter Property="Margin" Value="2,2,2,2"/>
            <Setter Property="Padding" Value="2"/>
            <Setter Property="FontFamily" Value="Courier"/>
            <Setter Property="FontSize" Value="10"/>
            <Setter Property="FontStretch" Value="Normal"/>
            <Setter Property="FontStyle" Value="Normal"/>
            <Setter Property="FontWeight" Value="Normal"/>
        </Style>

    Larry Heck
    heckj516@gmail.com
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 03 May 2010 Link to this post

    Hi John Heck,

    Unfortunately our current theming mechanism does not allow implicit styles to be used. We are currently researching several possible solutions but most probably implicit styles will not be supported until Q3 is released.

    Please excuse us for this inconvenience.


    Sincerely yours,
    Milan
    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.
Back to Top