Skip to main content

Microsoft Silverlight

Answered Question Key.Up/Key.Down doesn't fire KeyDown event in ListBoxRSS Feed

(0)

Thomas D
Thomas D

Member

Member

46 points

66 Posts

Key.Up/Key.Down doesn't fire KeyDown event in ListBox

Hello!

I'd like to enable a method for the user to change the position of an item in a ListBox. So I added a KeyDown event handler to it and wanted to use Key.Up respectively Key.Down for the handling as this is the most intuitive way, I think. But the event doesn't fire, when pushing the up or down keys and also not when pushing page up or page down key. However, it fires just fine with any other key. So I'm asking myself, if there is a way to enable also this keys to be fired or am I forced to use a different key set to change the order of the ListBox?

anim8or
anim8or

Member

Member

342 points

55 Posts

Answered Question

Re: Key.Up/Key.Down doesn't fire KeyDown event in ListBox

Similar post here




If this has answered your question, please "Mark as answer"...

... or not, I'm not a points junkie!



  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities