How to bind Image in ComboBox

4 posts, 0 answers
  1. Nikhil Jain
    Nikhil Jain avatar
    25 posts
    Member since:
    Aug 2009

    Posted 04 May 2011 Link to this post

    Hi

    I need to bind the images in combobox at load . I using MVVM Pattern for my development.
     
    Can anyone suggest me what should I do.

    Regards
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 05 May 2011 Link to this post

    Hello Nikhil Jain,

    You should create a custom DataTemplate and set it to ItemTemplate property of RadComboBox, the approach is described here.

    All the best,
    Yana
    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 WPF is Visual Studio 2017 Ready
  4. Nikhil Jain
    Nikhil Jain avatar
    25 posts
    Member since:
    Aug 2009

    Posted 05 May 2011 Link to this post

    Hello Yana

    Thanks for your Reply. My requirement is of showing an image. So could you give me any example for the same. 

    Regards
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 May 2011 Link to this post

    Hello Nikhil,

    I've attached a simple example demonstrating the approach, please download it and give it a try.

    All the best,
    Yana
    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
Back to Top