using with gridview

Feb 11, 2013 at 5:13 PM
I'm trying to process the events within a grid view
   <GridView
            x:Name="itemGridView"
            AutomationProperties.AutomationId="ItemGridView"
            AutomationProperties.Name="Grouped Items"
            Grid.RowSpan="2"
            Padding="116,137,40,46"
            ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
            ItemTemplate="{StaticResource Standard250x250ItemTemplate}"
            SelectionMode="None"
            IsSwipeEnabled="false"
            IsItemClickEnabled="True"
            
            >
            <metroEventToCommand:EventToCommandManager.Collection >
                <metroEventToCommand:EventToCommand Command="{Binding Main.ShowItem, Source={StaticResource Locator}}" Event="Clicked"></metroEventToCommand:EventToCommand>
            </metroEventToCommand:EventToCommandManager.Collection>
This doesn't work ... how should I do?
Feb 17, 2013 at 12:37 PM
Edited Feb 17, 2013 at 12:44 PM
Do you want to handle item click event? You need to explicty set IsItemClickEnabled property in GridVew to True (and Event="ItemClick").
Mar 5, 2013 at 9:11 AM
THANKS , only today I could get back to this project... my problem was indeed the name of the event!