private void ControlClick( object sender, ItemClickEventArgs e ) { ( ( PaneNavButton ) e.ClickedItem ).Action(); }