public void DebugOutput(int indent)
{
Console.WriteLine("{0}Sequence Count:{1} Visible:{1}", new string(' ', indent * 2), Children.Count, Visible);
foreach (object child in Children)
{
KryptonWorkspaceSequence sequence = child as KryptonWorkspaceSequence;
if (sequence != null)
sequence.DebugOutput(indent + 1);
KryptonWorkspaceCell cell = child as KryptonWorkspaceCell;
if (cell != null)
cell.DebugOutput(indent + 1);
}
}