public override void SetLayout(PageTypeLayoutContext context) { context .SetLayout(PageLayout.LayoutDisplayProperties.ContentCentered | PageLayout.LayoutDisplayProperties.NoAside) .SetHeader(LayoutContentTypes.Title) .EnableTitleBackgroundImageByDefault(); }
public override void SetLayout(PageTypeLayoutContext context) { context.SetLayoutStretchedWithSidebar() .SetHeader(LayoutContentTypes.Title) .SetAside(LayoutContentTypes.Links); }
/// <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);
public override void SetLayout(PageTypeLayoutContext context) { context .SetLayout(PageLayout.LayoutDisplayProperties.ContentCentered | PageLayout.LayoutDisplayProperties.NoAside) .SetHeader(LayoutContentTypes.Title); }