Icons in top level items?

3 posts, 1 answers
  1. Daniel Billingsley
    Daniel Billingsley avatar
    95 posts
    Member since:
    Apr 2010

    Posted 23 Jul 2010 Link to this post

    I think the answer is no from looking at other threads, but is there an easy way (without retemplating the whole control) to add icons/images to the top level menu items?
  2. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 27 Jul 2010 Link to this post

    Hi Daniel,

    Thank you for contacting us.

    You can put an icon in the top level items of the menu, by setting the Icon property of the item, for example like so:


    <telerik:RadMenu VerticalAlignment="Top" IconColumnWidth="0">
                <telerik:RadMenuItem Header="Item 1">
                    <telerik:RadMenuItem.Icon>
                        <Image Source="Desert.jpg" Height="16" Width="16"/>
                    </telerik:RadMenuItem.Icon>
                        <telerik:RadMenuItem Header="SubItem 1" />
                    <telerik:RadMenuItem Header="SubItem 2" />
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Header="Item 2" />
            </telerik:RadMenu>

    Hope this helps.

    If you need further assistance please let us know.

    Greetings,
    Konstantina
    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 banner
  4. Daniel Billingsley
    Daniel Billingsley avatar
    95 posts
    Member since:
    Apr 2010

    Posted 27 Jul 2010 Link to this post

    Well, I'm glad I asked.  Great!

    Thanks.
Back to Top