$ 0 0 Create a node with 2 attribute.. bind the Expanded property of tray with attribute.. OnToggle, change the value of attribute accordingly.