Custom style for combo box

10 posts, 1 answers
  1. Kevin Tran
    Kevin Tran avatar
    40 posts
    Member since:
    Apr 2010

    Posted 30 Jul 2010 Link to this post

    Hi Support,
    I want a navigation control as shown in picture,Is it possible to achieve this using COmbobox,If not possible suggest some other navigation control i tried using Menu control but somehow i am unable to display them in vertical mode.


  2. Kevin Tran
    Kevin Tran avatar
    40 posts
    Member since:
    Apr 2010

    Posted 30 Jul 2010 Link to this post

    any help
  3. DevCraft banner
  4. Kevin Tran
    Kevin Tran avatar
    40 posts
    Member since:
    Apr 2010

    Posted 02 Aug 2010 Link to this post

    any help?
  5. Answer
    Pana
    Admin
    Pana avatar
    748 posts

    Posted 03 Aug 2010 Link to this post

    Hello Kevin,

    You edit it in Expression Blend. If you don't have Expression Blend you will need a lot of XAML skills. You will have to write ~300 lines of xaml code I suppose.

    I am attaching 2 movies that show how editable is the combobox and how I have created a style fairly close to your screenshot. Also I am attaching the project. It still need some polishing like setting some margins and paddings on some of the elements.

    All the best,
    Panayot
    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
  6. Kevin Tran
    Kevin Tran avatar
    40 posts
    Member since:
    Apr 2010

    Posted 04 Aug 2010 Link to this post

    WOW video was just awesome ,Thnks a ton telerik :)
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 04 Aug 2010 Link to this post

    Hi Kevin,

    I am glad you like it.
    If you have further problems we would be glad to help.

    Sincerely yours,
    Panayot
    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
  8. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 21 Dec 2010 Link to this post

    Hi
    I saw this vedio it has helped me too but I also need to know how i can make my Combobox red inspite of yellowwhenever i do the mouse hover on it. Is there any way  to acheive this thing. I have attached the screen shot , where in I am getting yellow on mouseover event but i am not able to change it to Red color using same procedure as suggested in your vedio.

    thanks
    Manish
  9. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Dec 2010 Link to this post

    Hi Manish Kumar,

    The ButtonChrome you have selected on your screenshot is a Control. You can right-click it select edit template - edit a copy and modify its MouseOver state.

    All the best,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  10. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 27 Dec 2010 Link to this post

    Hi

    I tried exactly what you have suggested but I am facing an issue with it. I am not getting any simple way to acheive Reddish glow on mouse over of  the Combobox it always gives me yellow. When ever I try to edit the template or style i get lots of error (see the7 attached files). It'll be a great help from you if you can guide me or give me some direction to follow this requirement, to change mouse over color on combobox control. I only need to know where exactly i can make change so that my requirement gets fulfilled. I also used some inbuilt Themes like Windows7 through which i am able to stop yellow glow, but again , though i tried changing the background but still problem remain as it is.

    Best Regards,
    Manish


  11. Pana
    Admin
    Pana avatar
    748 posts

    Posted 03 Jan 2011 Link to this post

    Hi Kevin Tran,

    The problem is trivial. For some unknown reason Blend puts the color resources after the ControlTemplate so they can not be resolved from the ButtonChrome. The solution is simple - go to the Resources tab and move the brushes above the ButtonChrome style. I am attaching a video that demonstrates how you can edit the mouse over of the RadComboBox.

    Best wishes,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner