xsharp.eu • wpf - Page 2
Page 2 of 2

wpf

Posted: Thu Jan 24, 2019 4:10 pm
by ic2
Hello Juraj,

This is probably exactly what you need:

https://docs.microsoft.com/en-us/dotnet ... ey-pressed

You define the method to be called in the XAML code of the control and the called C# method is only a few lines is easy to convert to X#. Note that you can also add a C# project to your solution and call the C# methods as if they are written in X# - without the need to convert anything, should you encounter a more complicated but working C# method somewhere.

Dick

wpf

Posted: Thu Jan 24, 2019 4:31 pm
by Juraj
Hello Dick,
Thank you for your good pleasure. I have no problem to check which key was pressed, the problem was to emulate press Tab or Shift + Tab. I found one solution that fits my application. It was also in C#, but I managed to convert it to XSharp. Be sure to use your advice in the future.

Juraj