ComponentFactory.Krypton.Docking.KryptonDockingWorkspace.ShowPages C# (CSharp) Method

ShowPages() public method

Show all display elements of the provided pages.
public ShowPages ( string uniqueNames ) : void
uniqueNames string Array of unique names of the pages that should be shown.
return void
        public void ShowPages(string[] uniqueNames)
        {
            // Cannot show a null reference
            if (uniqueNames == null)
                throw new ArgumentNullException("uniqueNames");

            if (uniqueNames.Length > 0)
            {
                // Cannot show a null or zero length unique name
                foreach (string uniqueName in uniqueNames)
                {
                    if (uniqueName == null)
                        throw new ArgumentNullException("uniqueNames array contains a null string reference");

                    if (uniqueName.Length == 0)
                        throw new ArgumentException("uniqueNames array contains a zero length string");
                }

                using (DockingMultiUpdate update = new DockingMultiUpdate(this))
                    base.PropogateAction(DockingPropogateAction.ShowPages, uniqueNames);
            }
        }

Same methods

KryptonDockingWorkspace::ShowPages ( KryptonPage pages ) : void