Class DynamicElement
- Namespace
- Dynamicweb.Rendering.Designer
- Assembly
- Dynamicweb.dll
Represents a dynamic element in a layout, i.e. navigation or contentcontainer
public class DynamicElement
- Inheritance
-
DynamicElement
- Inherited Members
Constructors
DynamicElement(NameValueCollection)
Creates a new instance of a dynamic element
public DynamicElement(NameValueCollection attributes)
Parameters
attributes
NameValueCollection- A collection of attributes
Properties
Attributes
Gets a collection of settings from the elements settings attribute
public NameValueCollection Attributes { get; }
Property Value
Id
Gets the ID of html tag from which the element origins
public string Id { get; }
Property Value
Name
Gets the name of the element when used in a parsed template
public string Name { get; }
Property Value
Settings
Gets a collection of settings from the elements settings attribute
public NameValueCollection Settings { get; }
Property Value
Sort
Gets or sets the sort of this element.
public int Sort { get; set; }
Property Value
- int
- The sort.
SortValue
Gets the sort value from the settings attribute.
public int SortValue { get; }
Property Value
- int
- The sort.
Title
Gets the title for this element
public string Title { get; }