ComboBox 展开下拉选项时为什么通过方向键直接能改变 SelectedItem? #1415
Unanswered
CodingOctocat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WPF 中,
ComboBox
默认的行为是展开下拉选项后,方向键可以预览高亮选项,需要按Enter
确认,而 HandyControl 是直接改变选择项了,相当于实时切换,无需 Enter 确认。以下是 WPF 默认样式,我选中了
第 2 项
,此时我按方向键切换到第 4 项
,第 4 项
处于候选状态,需要Enter
提交,而 HandyControl 如果按方向键,那么直接就切换选项了。Beta Was this translation helpful? Give feedback.
All reactions