Ejemplo n.º 1
0
 /// <summary>
 /// Add this layout and all sub-layouts to the specified collection..
 /// </summary>
 /// <param name="layouts">The collection of layouts.</param>
 public void PopulateLayouts(LayoutCollection layouts)
 {
     layouts.Add(this);
     Layout.PopulateLayouts(layouts);
     if (Header != null)
     {
         Header.PopulateLayouts(layouts);
     }
     if (Footer != null)
     {
         Footer.PopulateLayouts(layouts);
     }
 }