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

Rounded Corners RadCombobox

8 Answers 174 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Iwan van Ee
Top achievements
Rank 1
Iwan van Ee asked on 10 Aug 2011, 09:01 AM
I managed to get Rounder Corners for the combobox, but I also need to have the selected item to have rounded corners, where can I set that?
The first selected item in the items list has rectangle corners as you can see in the screenshot.


8 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 11 Aug 2011, 01:48 PM
Hi Iwan,

In order to achieve this you have to edit the style of the RadComboBoxItem as well. You can easily do this with Expression Blend. Just drop a ComboBox control on the design surface, right-click it and choose from the menu Edit Template->Edit a Copy. Do the same for the RadComboBoxItem. Then Blend will generate all the needed resources.
There find the Border with x:Name="HighlightVisual". In it there is another Border of which you have to set the CornerRadius to SplitButton_SpanCornerRadius.

Hope this helps.

All the best,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Iwan van Ee
Top achievements
Rank 1
answered on 11 Aug 2011, 02:24 PM
I forgot the RadComboBoxItem :) That's why I could not find the HighlightVisual.

I also needed to set the ItemContainerStyle="{StaticResource RadComboBoxItemMyStyle}"

Thanks again, for the good service.
0
Joshua
Top achievements
Rank 1
answered on 28 Oct 2012, 04:22 PM
Hi,
i am working on application which we need to have rounded conere radcombobox.
can any one please post the style to get that?

0
Joshua
Top achievements
Rank 1
answered on 29 Oct 2012, 03:13 PM
Hi Iwan,

Can you please post you style to get the rounded coners for the RadComboBox?

Thanks in advance
0
Masha
Telerik team
answered on 31 Oct 2012, 02:12 PM
Hello Joshua,

In order to set rounded corners you should modify CornerRadius property on ButtonChrome inside NonEditable template of RadComboBox.  Please note you might need to apply the changes to the Editable template, as well.

Greetings,
Maria
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Joshua
Top achievements
Rank 1
answered on 02 Nov 2012, 03:42 AM
Maria,

Can you please post the styles for the radcombobox editable and noneditable templates.

Thanks in advance.
0
Joshua
Top achievements
Rank 1
answered on 02 Nov 2012, 05:32 AM
Hi Maria,

I got it.  Thanks for your help.
0
Masha
Telerik team
answered on 02 Nov 2012, 08:12 AM
Hi Joshua,

We are glad you have managed to find a solution by yourself.

Kind regards,
Maria
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ComboBox
Asked by
Iwan van Ee
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Iwan van Ee
Top achievements
Rank 1
Joshua
Top achievements
Rank 1
Masha
Telerik team
Share this question
or