OnSelectionChanged for GridView (C++ implementation)

Navržená odpověď OnSelectionChanged for GridView (C++ implementation)

  • Dienstag, 17. Januar 2012 19:31
     
     

    I have a GridView binded to a vector contained images.

    Upon SelectionChanged event - how can i get the item selected ? Is there a GridViewItem (as the ListViewItem for ListView) ?
    How can I get it ?

    Thanks,

    Kesem 

Alle Antworten

  • Dienstag, 1. Mai 2012 05:25
     
     Vorgeschlagene Antwort

    Hi ZurMK,

    you can use the SelectionChangedEventArgs::AddedItems collection to get the selected Items.

    Thanks,

    Ivan