public PropogatePageState ( DockingPropogatePageState state, string uniqueName ) : |
||
state | DockingPropogatePageState | Request that should result in a page reference if found. |
uniqueName | string | Unique name of the page the request relates to. |
return |
public virtual KryptonPage PropogatePageState(DockingPropogatePageState state, string uniqueName)
{
// Search all child docking elements
for (int i = 0; i < Count; i++)
{
// If the child knows the answer then return it now
KryptonPage page = this[i].PropogatePageState(state, uniqueName);
if (page != null)
return page;
}
return null;
}