ContextMenu with a list of images

2 posts, 0 answers
  1. jnh999
    jnh999 avatar
    29 posts
    Member since:
    Apr 2010

    Posted 13 Oct 2010 Link to this post

    I want to have a ContextMenu item that show a list of selectable images when user clicks the menu item.  I didn’t find one readily available.  Is there something there that I can use or I have to write my own?  I am new to SilverLight and RadControls for SilverLight.  Thanks for any advice.

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 15 Oct 2010 Link to this post

    Hello jianing huang,

    Thank you for contacting us.

    There are 2 options:
    1. If you bind the ItemsSource of your ContextMenu to a source you could predefine the template of the items, as explained in this help article:
    2. If you are using static items, you could just put the image as a content of the MenuItem, for example:
                <telerik:RadContextMenu x:Name="ContextMenu">
                                <Image Source="Chrysanthemum.jpg"/>

    Hope this information helps. If you need further assistance please let us know.

    All the best,
    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. DevCraft R3 2016 release webinar banner
Back to Top