This is a migrated thread and some comments may be shown as answers.

list of valid Rad control target types

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John Heck
Top achievements
Rank 1
John Heck asked on 28 Apr 2010, 07:36 PM
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

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 03 May 2010, 11:52 AM
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.
Tags
General Discussions
Asked by
John Heck
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or