Table of Contents

Class Design

Namespace
Dynamicweb.Rendering.Designer
Assembly
Dynamicweb.dll
Represents a design and its location
public class Design
Inheritance
Design
Inherited Members

Remarks

Instances of this object can only be retrieved from Design.Designs

Constructors

Design(DirectoryInfo)

Initializes a new instance of the Design class.
public Design(DirectoryInfo directory)

Parameters

directory DirectoryInfo
The directory.

Fields

DesignsRootPath

public static readonly string DesignsRootPath

Field Value

string

Properties

Folder

DirectoryInfo object of the design location
public DirectoryInfo Folder { get; }

Property Value

DirectoryInfo

Layouts

Return layouts for this design
public LayoutCollection Layouts { get; }

Property Value

LayoutCollection

Name

Name of the design
public string Name { get; }

Property Value

string

Path

Full path of the designs location
public string Path { get; }

Property Value

string

UsesDictionary

Returns true if this design has Translations.xml used by Dictionary system
public bool UsesDictionary { get; }

Property Value

bool

Methods

ClearCache()

public void ClearCache()

Designs()

Returns a collection of Designs for this solution
public static DesignCollection Designs()

Returns

DesignCollection
Only design folders with at least one layout. If no designs or layouts are present, an empty design collection is returned.
To top