LoginSignup
2
0

More than 3 years have passed since last update.

ComboBoxで、PreviewKeyDown時の矢印キーを認識したい

Posted at

could not capture down arrow in combobox in wpf
に同じ課題があったが、解決しなかったので、次の方法で解決した旨を記載。

ComboBoxをStackPanelの中に配置し、StackPanelのPreviewKeyDownイベントで認識する。

ComboBoxの、PreviewKeyUpでは認識できるのに、Downではできなかったため。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0