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)
Initializes a new instance of the ContainerInfo class.
public ContainerInfo(string containerName)
Parameters
containerNamestringName of the container.
ContainerInfo(string, int, NameValueCollection)
Initializes a new instance of the ContainerInfo class.
public ContainerInfo(string containerName, int sort, NameValueCollection settings)
Parameters
containerNamestringName of the container.
sortintThe sort of the current paragraph in the container.
settingsNameValueCollectionThe settings of the content placeholder.
Properties
Count
Gets or sets the count of paragraphs in the current container.
public int Count { get; set; }
Property Value
- int
The count.
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 placeholder.
public int Sort { get; }
Property Value
- int
The sort.