public override void PropogatePageList(DockingPropogatePageList state, KryptonPageCollection pages)
{
switch (state)
{
case DockingPropogatePageList.All:
case DockingPropogatePageList.AutoHidden:
for (int i = AutoHiddenGroupControl.Pages.Count - 1; i >= 0; i--)
{
// Only add real pages and not just placeholders
KryptonPage page = AutoHiddenGroupControl.Pages[i];
if ((page != null) && !(page is KryptonStorePage))
{
// Remember the real page is inside a proxy!
KryptonAutoHiddenProxyPage proxyPage = (KryptonAutoHiddenProxyPage)page;
pages.Add(proxyPage.Page);
}
}
break;
}
}