I'm making a windows 8.1 Universal app, I have a gridview in it, that will show images, and will be scrollable horizontally.
In windows store app I can scroll it with mouse wheel, no problems.But I need right and left arrow keys to do the same what a mousewheel does. (note:if a gridviewItem is selected, i.e. has got the focus, I can change the sel. item by pressing arrow keys, I'm not talking about that)
I created a userControl which will have that feature(maybe it is not the best way?)
My user control has this:
<pre lang="HTML"> <GridView x:Name="MyGrid" >
<GridView.ItemTemplate>
<DataTemplate>
<Grid removed="DarkGreen" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="240" Height="240"
></Grid>
</DataTemplate>
</GridView.ItemTemplate>
</GridView>
I could implement none of my several ideas on how to do that.
Can anyone, please, help me? Will be very thankful.