Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Commented Issue: howto get the selected ContextMenu item in a LongListSelector? [10167]

$
0
0
I have a problem, I need to get the selected Item from a ContextMenu in a LongListSelector.
Before I was using a normal ListBox and I did it with:

var selectedItem = myList.ItemContainerGenerator.ContainerFromItem(menuItem.DataContext) as ListBoxItem;

But now I'm using the LongListSelector and this method doesn't work.

Who can I do it?
Comments: ** Comment from web user: halocameo **

Any update on this? I am facing the same issue!


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>