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

Styling radComboBox

1 Answer 186 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Xaria D
Top achievements
Rank 1
Xaria D asked on 11 Aug 2010, 07:23 AM
I did this
<UserControl.Resources>
               <Style x:Key="ComboBoxStyle" TargetType="{x:Type Input:RadComboBox}">
            <Setter Property="Width" Value="100"/>
            <Setter Property="Margin" Value="5,2"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
            <Setter Property="IsEditable" Value="False"/>
            <Setter Property="IsReadOnly" Value="True"/>
        </Style>
    </UserControl.Resources>
but the style is not reflectes on the ComboBox. is this not the correct way to style the Combobox???

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 11 Aug 2010, 02:10 PM
Hi Xaria D,

Please, make sure you are using the "Input" namespace correctly and that you have applied the style to the combobox with the Style attribute.

If you are in doubt, you can try to generate a style in Blend and check the correct way of applying the style.


Regards,
Dani
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
ComboBox
Asked by
Xaria D
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or