The invention is directed to the capturing of user interface switch states. A method according to an embodiment of the invention includes: adding a state attribute to a UI switch control, the state attribute containing an expression; evaluating the expression relative to a UI binding of the UI switch...http://www.google.fr/patents/US7995568?utm_source=gb-gplus-shareBrevet US7995568 - Capturing user interface switch states