ContextMenu

2 posts, 0 answers
  1. Dev
    Dev avatar
    1 posts
    Member since:
    Feb 2010

    Posted 06 May 2010 Link to this post

    Where I can find a complete example to load a contextMenu by Bindind with images and muilti level.

    Thanks
  2. Ross Wozniak
    Ross Wozniak avatar
    6 posts
    Member since:
    Jan 2010

    Posted 07 May 2010 Link to this post

    Not sure if it would help, but you could download the source for my Task-It application at http://bit.ly/bhgRLi I use a two-level context menu that is associated with a RadGridView. It is in Grid.xaml in the Views directory of the TaskIt.Modules.Tasks project (you'll see it visually if you run the app, go to the Tasks page and right-click any item in the RadGridView).

    In this context menu I am binding the Icon, Command and Visibility properties, though I am doing it via the MVVM pattern. So the properties I am binding to live in the ListViewModel class in the same project's ViewModels directory.

    You could step through the code to see how I am obtaining the Image object.

    Ross
Back to Top