Home Forums WPF controls Xceed DataGrid for WPF Focus problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24977 |

    Hi,

    I have grid along with some other controls. When I have my focus in my control and then hit Alt+Tab to go to other application and hit it again to come back to the application. My focus got shifted to the control that got the focus before the grid. Has anyone experienced the same problem?

    Imported from legacy forums. Posted by nat (had 468 views)

    Xceed Support
    Member
    Post count: 5658

    We have already seen this behavior before… We are currently investigating how to correct this…

    Thank you for bringing this to our attention.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 202 views)

    User (Old forums)
    Member
    Post count: 23064

    I am also having focus issues if I recreate the grid (using new data). After the render has happened then the focus is on a previous control within the application.

    Is there a timescale on when this might be solved (or is there a workaround that someone knows).

    Imported from legacy forums. Posted by Derek (had 307 views)

    Xceed Support
    Member
    Post count: 5658

    We are still investigating the problem to find a good solution to correct the problem

    A workaround would be to force the FocusedElement in the DataGridControl as null after the ItemsSource or Items:

    FocusManager.SetFocusedElement(gridControl, null);

    Imported from legacy forums. Posted by Chris [Xceed] (had 3834 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.