Last Updated:
15 May 2024 06:59
by ADMIN
DataGrid: [WinUI] Scrolling is performed when Up/Down key is pressed while editing
In Windows, when I press the up key or the down key while the data grid is on edit mode, the scroll bar moves even though it shouldn't.
In view mode, the scroll bar of the data grid moves only when the selected item is the first or last visible item in the display area of the data grid. But in edit mode, it moves regardless and it moves a lot more than usual.
I need a way for the scrollbar to behave the same for view and edit modes for a requirement in my project.