locked
ListView steals 'Enter' keydown events

    Question

  • Hello,

    I have an app that when launched automatically gives control to a listView on my main page. This prevents a user from using a keyboard because the 'Enter' keydown events all get passed to the ListView. When I click the mouse somewhere on the screen (the listview starts off screen, and I've tried to make it 'Collapsed' visibility) the app handles controls as I want it to, but I'd like for it to immediately start up like that.

    I've tried to disable it when the game starts up and then enable it when I need it, but for some reason when I disable the ListView all of my images also lose all of their message handling (PointerPressed,PointerEntered). Which is not ideal.

    Is there some property I can set to change this? It may be worth mentioning that this list view is my only control item in my main page. All other items are images, textblocks, and grids.

    Thanks.

    Monday, November 12, 2012 8:57 PM