Regarding Keyboard Arrow Navigation Not Working Properly with Custom Editor in DataGrid Cell Template
Author: Santhoshsf3897Created Mar 4, 2025Updated Sep 29, 2026
LabelsInvestigate
Description
Regarding when the DataGrid loads a custom editor into the cell template, performing navigation using the keyboard (such as the left or right arrow keys) does not work properly.
**
** Start the application with MainWindow2 in App.xaml.cs. Here, the editor is used without the DataGrid, and it works properly there.
For your reference attached the sample please review it.
Reproduction Steps
Run the sample. Try to enter content into the editor.
Try to navigate the cursor using the right/left arrow keys. For your reference, the replication procedure video is attached.
Expected behavior
The cursor should move based on keyboard navigation.
Actual behavior
The cursor doesn't move based on navigation.
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
Source: dotnet/wpf