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.
Fields
Grid
public readonly GridContainer Grid
Field Value
Properties
ColumnsInCurrentRow
public int ColumnsInCurrentRow { get; set; }
Property Value
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
IsLastParagraphInContainer
public bool IsLastParagraphInContainer { get; set; }
Property Value
IsNewGridRow
public bool IsNewGridRow { get; set; }
Property Value
Name
Gets the name of the container.
public string Name { get; }
Property Value
- string
- The name.
Settings
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.
SwitchRowAfterCurrentParagraph
public bool SwitchRowAfterCurrentParagraph { get; set; }
Property Value
SwitchRowAfterNextParagraph
public bool SwitchRowAfterNextParagraph { get; set; }
Property Value
TotalColumnsRendered
public int TotalColumnsRendered { get; set; }