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
stringName of the container.
layout
LayoutThe 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
stringName of the container.
sort
intThe sort of the current paragraph in the container.
settings
NameValueCollectionThe settings of the content placeholder.
layout
LayoutThe 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
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
Sort
Gets the sort of the current rendering paragraph position in the content placeholde.
public int Sort { get; }
Property Value
- int
The sort.