ComponentFactory.Krypton.Docking.DockingElement.PropogateBoolState C# (CSharp) Метод

PropogateBoolState() публичный Метод

Propogates a boolean state request down the hierarchy of docking elements.
public PropogateBoolState ( DockingPropogateBoolState state, string uniqueName ) : bool?
state DockingPropogateBoolState Boolean state that is requested to be recovered.
uniqueName string Unique name of the page the request relates to.
Результат bool?
        public virtual bool? PropogateBoolState(DockingPropogateBoolState state, string uniqueName)
        {
            // Search all child docking elements
            for (int i = 0; i < Count; i++)
            {
                // If the child knows the exact answer then return it now
                bool? ret = this[i].PropogateBoolState(state, uniqueName);
                if (ret.HasValue)
                    return ret;
            }

            return null;
        }