Skip to content

How does the Vsix extension prevent Visual Studio from capturing keyboard events #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
weiyoucheng opened this issue Jul 18, 2023 · 0 comments

Comments

@weiyoucheng
Copy link

My plugin has a user control in a window, which includes a DataGrid control. I added the PreviewKeyDown event to the DataGrid control. When I pressed the Esc key while editing a DataGrid cell, the DataGrid.PreviewKeyDown event did not capture any event information, but was captured by Visual Studio. How to prevent Visual Studio from capturing keyboard events so that the DataGrid.PreviewKeyDown event can be captured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant