public override void PropogateCellList(DockingPropogateCellList state, KryptonWorkspaceCellList cells)
{
switch (state)
{
case DockingPropogateCellList.All:
case DockingPropogateCellList.Docked:
case DockingPropogateCellList.Floating:
case DockingPropogateCellList.Workspace:
{
// If the request relevant to this space control?
if ((state == DockingPropogateCellList.All) ||
((state == DockingPropogateCellList.Docked) && (ClearStoreAction == DockingPropogateAction.ClearDockedStoredPages)) ||
((state == DockingPropogateCellList.Floating) && (ClearStoreAction == DockingPropogateAction.ClearFloatingStoredPages)) ||
((state == DockingPropogateCellList.Workspace) && (ClearStoreAction == DockingPropogateAction.ClearFillerStoredPages)))
{
// Find each cell in turn
KryptonWorkspaceCell cell = SpaceControl.FirstCell();
while (cell != null)
{
cells.Add(cell);
cell = SpaceControl.NextCell(cell);
}
}
}
break;
}
// Let base class perform standard processing
base.PropogateCellList(state, cells);
}