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
2116
Anyway to allow keyboard keys like PageUp PageDown etc to work on mouseover...
posted

I would like all the keyboard navigations to work when the user has mouseover the datagrid even if the grid doesn't have focus.  Also is there a way to the grid to scrollvalue into view based on a keyboard letter entered?

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    All keyboard navigation functionality works only when an element has focus. You cannot do this unless the XamDataGrid is in focus. You can handle the PreviewKeyDown event, but you would have to give the focus to the XDG if it does not have it.

    Regarding your second question, you can use the SetVerticalAlignment() method of the ScrollInfo class to scroll down/up to a certain position.

Children
No Data