I am using the TextBoxSuggestions control inside a DataGridColumn template.
When the user selects an item from the control the keyboard focus is not returned to the TextBox and so it makes it very difficult commit the edit from the keyboard because the control that had focus is removed from the visual tree and so none of the controls have focus. You have to click into the grid again to apply the change.
You can fix this behaviour quite simply by changing the SelectSuggestionItemCommandHandler like so:
I am using the TextBoxSuggestions control inside a DataGridColumn template.
When the user selects an item from the control the keyboard focus is not returned to the TextBox and so it makes it very difficult commit the edit from the keyboard because the control that had focus is removed from the visual tree and so none of the controls have focus. You have to click into the grid again to apply the change.
You can fix this behaviour quite simply by changing the SelectSuggestionItemCommandHandler like so:
This enables the user to apply a change by pressing enter twice, once to select the item from the list and once to commit the edit to the row.
It will also allow the user to continue tabbing through the view as normal for anyone who is not using the control inside a DataGrid.