Exemple #1
0
 public override void SetLayout(PageTypeLayoutContext context)
 {
     context
         .SetLayout(PageLayout.LayoutDisplayProperties.ContentCentered | PageLayout.LayoutDisplayProperties.NoAside)
         .SetHeader(LayoutContentTypes.Title)
         .EnableTitleBackgroundImageByDefault();
 }
Exemple #2
0
 public override void SetLayout(PageTypeLayoutContext context)
 {
     context.SetLayoutStretchedWithSidebar()
         .SetHeader(LayoutContentTypes.Title)
         .SetAside(LayoutContentTypes.Links);
 }
Exemple #3
0
 /// <summary>
 /// A PageType is required to set the page layout settings.
 /// This method is called on load and during page creation.
 /// </summary>
 /// <param name="context"></param>
 public abstract void SetLayout(PageTypeLayoutContext context);
Exemple #4
0
 public override void SetLayout(PageTypeLayoutContext context)
 {
     context
         .SetLayout(PageLayout.LayoutDisplayProperties.ContentCentered | PageLayout.LayoutDisplayProperties.NoAside)
         .SetHeader(LayoutContentTypes.Title);
 }