ComponentFactory.Krypton.Docking.KryptonDockingFloatingWindow.SelectPage C# (CSharp) Method

SelectPage() public method

Ensure the provided page is selected within the cell that contains it.
public SelectPage ( string uniqueName ) : void
uniqueName string Unique name to be selected.
return void
        public void SelectPage(string uniqueName)
        {
            // Find the cell that contains the target named paged
            KryptonWorkspaceCell cell = CellForPage(uniqueName);
            if (cell != null)
            {
                // Check that the pages collection contains the named paged
                KryptonPage page = cell.Pages[uniqueName];
                if (page != null)
                    cell.SelectedPage = page;
            }
        }