could not capture down arrow in combobox in wpf

后端 未结 3 1234
陌清茗
陌清茗 2021-01-25 02:36

I have a combobox on a window in wpf and i am trying to capture the down arrow key of this combobox but i am not able to do so. The following is the only code i have for the com

3条回答
  •  一生所求
    2021-01-25 03:14

    Try handling PreviewKeyUp (or KeyUp) instead. If that does not work, then there must be more to your window or code (are you handling other instances of these events)?

提交回复
热议问题