Table of Contents

Class ContainerInfo

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Class ContainerInfo contains information about the content placeholder of current rendering paragraph.

public class ContainerInfo
Inheritance
ContainerInfo
Inherited Members

Constructors

ContainerInfo(string, Layout)

Initializes a new instance of the ContainerInfo class.

public ContainerInfo(string containerName, Layout layout)

Parameters

containerName string

Name of the container.

layout Layout

The layout instance where the placeholder is being rendered.

ContainerInfo(string, int, NameValueCollection, Layout)

Initializes a new instance of the ContainerInfo class.

public ContainerInfo(string containerName, int sort, NameValueCollection settings, Layout layout)

Parameters

containerName string

Name of the container.

sort int

The sort of the current paragraph in the container.

settings NameValueCollection

The settings of the content placeholder.

layout Layout

The layout instance where the placeholder is being rendered.

Properties

Count

Gets or sets the count of paragraphs in the current container.

public int Count { get; set; }

Property Value

int

The count.

IsGrid

public bool IsGrid { get; }

Property Value

bool

Name

Gets the name of the container.

public string Name { get; }

Property Value

string

The name.

Settings

Gets the settings set on the container

public NameValueCollection Settings { get; set; }

Property Value

NameValueCollection

Sort

Gets the sort of the current rendering paragraph position in the content placeholde.

public int Sort { get; }

Property Value

int

The sort.

To top