Home › Forums › Software Development › Gaze detection on WPF Button › Reply To: Gaze detection on WPF Button
Hi @grublixx and thanks for your query. You are quite close with the XAML structure however a few additional components remain to make the button not only gaze aware but to launch a procedure when receiving gaze input.
You will be pleased to know that we have created an article for this purpose within the Core SDK documentation and samples package which you can download @ https://github.com/tobiitech/core-sdk-docs
Specifically, if you navigate to /docs/articles/wpf.html we explain under the ‘activatable behaviour’ section, the proper methodology to correctly set up an WPF gaze aware interactor.
For your case, it will be necessary to create a custom timer routine to enable dwell activation, but the syntax will remain the same.
Hopefully, this is exactly what you are looking for! Please do go through our tutorial and let us know if we can provide any further information or assistance for your project. Best Wishes.