SlideOut() public method

Requests the panel slide into view and display the provided page.
public SlideOut ( KryptonPage page, KryptonAutoHiddenGroup group, bool select ) : void
page ComponentFactory.Krypton.Navigator.KryptonPage Reference to page for display.
group KryptonAutoHiddenGroup Reference to auto hidden group that displays the page.
select bool Should the sliding out page become selected.
return void
 /// <summary>
 /// Slide the specified page into view and optionally select.
 /// </summary>
 /// <param name="uniqueName">Name of page to slide into view.</param>
 /// <param name="select">True to select the page; otherwise false.</param>
 public void SlidePageOut(string uniqueName, bool select)
 {
     // Search each of our AutoHiddenGroup entries
     for (int i = 0; i < Count; i++)
     {
         KryptonDockingAutoHiddenGroup ahg = this[i] as KryptonDockingAutoHiddenGroup;
         // If the target page is inside this group
         KryptonPage page = ahg?.AutoHiddenGroupControl.Pages[uniqueName];
         if (page != null)
         {
             // Request the sliding panel slide itself into view with the provided page
             KryptonAutoHiddenProxyPage proxyPage = (KryptonAutoHiddenProxyPage)page;
             _slidePanel.SlideOut(proxyPage.Page, ahg.AutoHiddenGroupControl, @select);
             break;
         }
     }
 }