Custom RadCombobox :with highlight color change

12 posts, 0 answers
  1. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    hi,

         Am tryiung to edit the radcombobox using blend4.0 .But I could change default yellow color highlight color,Could you pls suggest me a way.
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 28 Nov 2011 Link to this post

    Hi Kasthuri,

    All visual states of RadComboBox are the visual representation of the ButtonChrome control. If you edit RadComboBox template in Expression Blend, you can find the ButtonChrome control in it. Generate the style of the chrome and check in Blend, in the Resources tab on the right  all relevant brushes. You can modify any brush, including the highlight brush.

    I hope this will help.

    Best wishes,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    hi,

        I try as the way you suggested.But still I could Find way to Change the Default highlight color,Mouse over,Pressed color.I have Attached a clear Image on below.Pls do refer that. Kindly give me way.
  5. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    hi,

        I try as the way you suggested.But still I could Find way to Change the Default highlight color,Mouse over,Pressed color.I have Attached a clear Image on below.Pls do refer that. Kindly give me way.
  6. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    hi,

        I try as the way you suggested.But still I could Find way to Change the Default highlight color,Mouse over,Pressed color.I have Attached a clear Image on below.Pls do refer that. Kindly give me way.
  7. Dani
    Admin
    Dani avatar
    848 posts

    Posted 29 Nov 2011 Link to this post

    Hi Kasthuri,

    Please, find attached a sample of a customized ButtonChrome in RadComboBox template. The default NonEditable template has been modified. Whatever changes you make upon that template, please remember you might need to apply them to the Editable template, as well.

    In the resources.png attached screenshot, you will see just where you can find all needed brushes of the generated ButtonChromeStyle. The customized_brushes.png shows a small illustrative change that was applied to that particular ButtonChromeStyle.

    I hope this will be helpful.

    Best wishes,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  8. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 29 Nov 2011 Link to this post

    Thank You.
    Great Work you guys are doing over there.Keep Going.
  9. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 30 Nov 2011 Link to this post

    Hi,
     I worked on the example you sent me.Am really Confused that i Could't find all those option in my application.I have attached the screen of urs and mine with this.pls do help me.
  10. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 30 Nov 2011 Link to this post

    hi,
     And also am hardly trying to change yellow color selection color of an radcomboxitem color.plssss help me
  11. Dani
    Admin
    Dani avatar
    848 posts

    Posted 30 Nov 2011 Link to this post

    Hello Kasthuri,

    To try to explain the customization process more clearly, I attach here a sample video I made. It shows how to change brushes using the project I initially posted here. It also shows how you can change the mouse over brush of the RadComboBoxItem.

    I hope the movie will be helpful.

    All the best,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  12. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 30 Nov 2011 Link to this post

    hi,

       Thank you very much for your video.I have gone through it.You created a stryle for the RadComboboxItem and applied it to all item.But is that possible to apply the style when we bind dynamic data to the combobox item.Can you suggest me ya way.How to do It.
  13. Dani
    Admin
    Dani avatar
    848 posts

    Posted 01 Dec 2011 Link to this post

    Hi Kasthuri,

    If your RadComboBox is populated by data binding its ItemsSource property, then use the ItemContainerStyle to apply your customization to all RadComboBoxItems.

    I hope this helps.

    Kind regards,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top
DevCraft banner