ComponentFactory.Krypton.Docking.KryptonFloatingWindow.VisibleCloseableUniqueNames C# (CSharp) Method

VisibleCloseableUniqueNames() private method

private VisibleCloseableUniqueNames ( ) : string[]
return string[]
        private string[] VisibleCloseableUniqueNames()
        {
            List<string> uniqueNames = new List<string>();
            KryptonWorkspaceCell cell = FloatspaceControl.FirstVisibleCell();
            while (cell != null)
            {
                // Create a list of all the visible page names in the floatspace that are allowed to be closed
                foreach (KryptonPage page in cell.Pages)
                    if (page.LastVisibleSet && page.AreFlagsSet(KryptonPageFlags.DockingAllowClose))
                        uniqueNames.Add(page.UniqueName);

                cell = FloatspaceControl.NextVisibleCell(cell);
            }

            return uniqueNames.ToArray();
        }