Unable to theme RadComboBoxItem

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    1 posts
    Member since:
    Feb 2008

    Posted 20 Aug 2010 Link to this post

    Recently I upgraded from Q3 2009 to 2010 Q1 SP1 (409) and got all the control themes working except for RadComboBoxItem(s).  The only thing I have been able to modify is the "ScrollThickness".  I'm also trying to change the font size and the mouse over background.  So far I have tried to create a custom theme from stratch using the new VSB.  Nothing under the RadComboBox > RadListBoxElement > RadListBoxItem is changing the appearance what so ever.  I've tried everything under the Elements section and the Element States.  I added the 3 theme files is made to my theme builder in VS (RadComboBox, Repository, RadSizablePopupControl).  The only thing I have had luck so far with is adding the "RadSizablePopupControl" to the StylesheetRelations in the existing theme file.  That was able to get me the larger ScrollThickness, but nothing else.

    Any help would be appreciated.

    Thanks,
    Aaron
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 25 Aug 2010 Link to this post

    Hello Aaron,

    Thank you for contacting us.

    This is a known issue of the Q1 2010 SP1 (2010.1 10.409) version of Visual Style Builder. It is addressed in Q2 2010, so we highly recommend that you give a try to this version. Here are the steps you need to follow in order to set the backcolor of the RadComboBoxItems:

    1. Open the Visual Style Builder (2010.2 10.713) select RadListBox >> RadListBoxElement >> RadListBoxItem in the Controls Structure panel. When the RadListBoxItem is selected, please click on the ListBoxItemSelectionFill (FillPrimitive) in the Elements window.
    2. Click the Create New Repository Item button appearing in the Repository window and make a new Gradient repository item. Please make sure that you set the Visibility property to Visible (as illustrated in the attached snapshots).
    3. Drag the newly created repository to the RadListBoxItem item in the Element States panel.
    4. Now if you select the RadComboBox item in the Controls Structure window, you will note that the repository is applied to the items in the dropdown.

    I hope you find this useful. Let me know if you experience further difficulties with our VSB tool. I will be glad to assist you.

    Kind regards,
    Boryana
    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top