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

HidePages() public method

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

            if (uniqueNames.Length > 0)
            {
                // Cannot hide 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.HidePages, uniqueNames);
            }
        }

Same methods

KryptonDockingWorkspace::HidePages ( KryptonPage pages ) : void