In my programm there is some search area at the bottom of the window. When my user select the Item in Bottom area It schould displayed on the right side of the window. How ever i have problem to Set new Pane focused. Or selected or something like this. In the exmple new Pane is created collapsed, and the source Pane stays in focus. You need click on the new Pane to hide privous one and set the new pane focus. Is it posible to make it from code behind?