Chapter 24 Flashcards
What are 2 types of events in multi touch
- Basic events (touch movement)
2. Manipulation events (zoom, rotate, translation, spinning etc)
What are commands
They are loosely coupled version of events (e.g. copy, paste, cut)
What icommand interface have
It has execute, canexecute, canexecutechange events
Does WPF also give us built-in commands
Yes
What are categories of built-in commands of WPF
- Application commands
- Component commands
- Media commands
- Navigation commands
- Editing commands
What is routed command
It can route in element hierarchy tree. A routed command does not determine if it can execute and what to do when executed
What is routed UI command
It is derived from routed command
What Help command do
It is command converter and it convert all built-in commands
What is F1
F1 is input gesture for help
What is key binding
Setting a specific key to show specific result
Can we set a specific key to show specific result from input binding too
Yes
How Ctrl+C, Ctrl+V works in text boxes
Commands pre-defined bindings in text box
What is dispatch loop
It is inside dispatcher. There are messages inside different applications and there are destinations for that messages. Each message should reach to its destination. Message loop/event loop dispatch these messages to its destination.
What is UI thread
A thread that executes message / event loop
What paint method do
It repaint required area