Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ComboBox > How to style and apply a new theme?

Not answered How to style and apply a new theme?

Feed from this thread
  • Sathish avatar

    Posted on Mar 28, 2009 (permalink)

    Hi

    I tried styling the 3 different themes but I was only able to style the Popup section. I got the code which you have posted (comboboxtheme.zip). I didn't understand from where by default Grey background or Onfocus (Golden background) for Office_black theme is coming from? I changed all the brush resources to White still the background color was grey. Are these controls part of the dll? Is there any way that we can create our own theme?

    This problem is not only with one theme but for Summer and Vista also..


    Regards
    Sathish

    Reply

  • Sathish avatar

    Posted on Mar 31, 2009 (permalink)

    Hi

    Awaiting for your reply.. Kindly let me know whether you need the sample project which I made?

    Regards
    Sathish

    Reply

  • Dimitrina Dimitrina admin's avatar

    Posted on Apr 1, 2009 (permalink)

    Hello Sathish,

    I am not sure which brush you want to change. Can you please send me a screenshot or a project in which you indicate the color you want to change?

    Regards,
    Dimitrina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

    Reply

  • Sathish avatar

    Posted on Apr 1, 2009 (permalink)

    Hi

    Check the image in the Url: Combobox Screenshot  or http://dl.getdropbox.com/u/823180/TelerikCombo.JPG


    Regards
    Sathish

    Reply

  • Dimitrina Dimitrina admin's avatar

    Posted on Apr 1, 2009 (permalink)

    Hello Sathish,

    The names of the brushes you need to change are as follows:

     - for the normal state: Background "ExpanderButtonNormal_Background", Border "ExpanderButtonNormal_Border"

     - for the mouseover state: Background "ExpanderButtonOver_Background", Border "ExpandButtonOver_OuterBorder"

    Let me know if you have further questions.


    Kind regards,
    Dimitrina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

    Reply

  • Sathish avatar

    Posted on Apr 2, 2009 (permalink)

    Hi

    I have made enough changes but it still remains the same. I am attaching the project for your reference. Kindly take a look at it.
    Project Link (or) http://dl.getdropbox.com/u/823180/RadCombo.zip

    Thanks
    Sathish

    Reply

  • Dimitrina Dimitrina admin's avatar

    Posted on Apr 2, 2009 (permalink)

    Hi Sathish,

    The problem is caused by the version of the controls you are using - it is older than the latest Q1 '09 release. I am sending you the project where I have fixed the theme file for you.

    You should apply the RadComboBox style:                   

         <

     

    Setter Property="Template" Value="{StaticResource NonEditableComboBox}" />
        
    <Setter Property="EditableTemplate" Value="{StaticResource EditableComboBox}" />
        
    <Setter Property="NonEditableTemplate" Value="{StaticResource NonEditableComboBox}" />

    Sincerely yours,

    Dimitrina
    the Telerik team

     


    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
    Attached files

    Reply

  • Sathish avatar

    Posted on Jun 6, 2009 (permalink)

    Hi Dimitrina

    Thanks for the reply. When I scroll keeping the combobox open after I apply my style, the page gets scrolled not the list in the combobox. Is there any way we can resolve that.

    Regards
    Sathish

    Reply

  • Dimitrina Dimitrina admin's avatar

    Posted on Jun 9, 2009 (permalink)

    Hi Sathish,

    Please, accept out apologies for this problem. A fix will be provided with the upcoming internal build.

    I also gave you 1000 Telerik points.

    Greetings,
    Dimitrina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ComboBox > How to style and apply a new theme?
Related resources for "How to style and apply a new theme?"

Silverlight ComboBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]