I have an application that replaces a physical function keyboard with keys on the screen. Example of existing application
Now I locate all the buttons in the window with code and it is rather slow. So I wonder if I can solve this with WPF. Unfortunately, I am new to WPF and wondering how I should proceed.
Requirements
- Location of the buttons in the grid shall be optional
- The color of the buttons and the text should be optional
- The buttons must either be able to contain text or icons
- When the window resize, buttons shall be scaled up with the same position in the grid.
- When the button is scaled up, the text and icon also scaled up
When some buttons are pressed of the user, they remain pressed until certain conditions are met. When a button remains depressed, it must be particularly clear, for example, by inverted colors.