Implement #23: ViewStack declarative API for setting/getting selected pane