Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Keyboard Selection Event of ComboBox Items
posted

How I can get Selected Item when I navigate trough the List via Keyboard?

It looks like MHE is selected but no Property of the XamComboEditor is filled with that Item

So in my Usecase I registered the PreviewKeyDown Event, so when I hit Enter I want to have the Selected Item which is selected by Keyboard.

The Problem is that in the PreviewKeyDown Event it's not possible for me to find out which item was now selected via KeyUp and KeyDown.

I have to know it in PreviewKeyDown because I have to work with that item in that Event Handler. Is there a chance to get it? So The SelectionChangedEvent is fired after KeyDown and then its too late for me (so the SelectedItem is set also then)

CustomValueEnteredAction = CustomValueEnteredActions.Allow;

Parents Reply Children
No Data