Table of Contents

Class LayoutLocator

Namespace
Dynamicweb.Content.Layouts
Assembly
Dynamicweb.dll

Static methods for locating the appropiate layout.

public static class LayoutLocator
Inheritance
LayoutLocator
Inherited Members

Methods

FindLayout(Area)

Finds the layout for an area.

public static Layout? FindLayout(Area area)

Parameters

area Area

Area to find the layout for.

Returns

Layout

FindLayout(Page)

Finds the layout for a page.

public static Layout? FindLayout(Page page)

Parameters

page Page

Page to find the layout for.

Returns

Layout

FindLayout(Page, string?)

Finds the layout for a page by layout name.

public static Layout? FindLayout(Page page, string? layoutName)

Parameters

page Page

Page to find the layout for.

layoutName string

Name of the layout.

Returns

Layout
To top