Horizontal Context Menu?

Thread is closed for posting
2 posts, 0 answers
  1. Cindy
    Cindy avatar
    2 posts
    Member since:
    May 2014

    Posted 30 Dec 2014 Link to this post

    Is there a way to position the context menu items horizontally rather than vertically?
  2. Tsvyatko
    Tsvyatko avatar
    863 posts

    Posted 01 Jan 2015 Link to this post

    Hello Cindy,

    Thank you for contacting us! By default context menu is displayed only vertical. However, you can easily customize its appearance by applying style for its items template panel:

            <StackPanel x:Name="ItemsPanel" Orientation="Horizontal" HorizontalAlignment="Center"/>

    I have prepared sample project demonstrating how to achieve this. In addition, I have modified the template of the menu to prevent stretching it on the screen width. (as I assume this scenario is related to this - http://www.telerik.com/community/forums/change-width-of-contextmenu)


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top