protected bool IsContainer(Component comp, out ComponentList list) { if (comp is Panel) { Panel panel = comp as Panel; if (panel.HasContent) { list = panel.Contents; return(true); } } else if (comp is IPDFInvisibleContainer) { IPDFInvisibleContainer container = comp as IPDFInvisibleContainer; if (container.HasContent) { list = container.Content; return(true); } } list = null; return(false); }
public TableCellList(ComponentList inner) : base(inner) { }
public PDFLayerList(ComponentList innerList) : base(innerList) { }
/// <summary> /// Creates the list of rows based on the provided component list. /// </summary> /// <param name="inner"></param> public TableRowList(ComponentList inner) : base(inner) { }
/// <summary> /// Creates the list of list items based on the provided component list. /// </summary> /// <param name="inner"></param> public ListItemList(ComponentList inner) : base(inner) { }
public PageList(ComponentList innerList) : base(innerList) { }
public InnerComponentList(ComponentList owner) { this.owner = owner; }