Focus

Keyboard focus forwards hardware key messages to the correct user interface element in your application. For example, the user can press the arrow keys on the keyboard to move a slider or press the Enter key to click a button.

Kanzi uses the Focused property to keep track of which node has focus. For example, you can use the Focused property as a controller property in a state manager to change the look and behavior of the node that has active focus.

These are the main concepts behind how focus works in Kanzi:

See Using focus.

See also

Tutorial: Use keyboard input to navigate your application

Using focus

Using state managers

Using the Button nodes

Using the Toggle Button nodes