Table of Contents

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

NameValueCollection

Id

Gets the ID of html tag from which the element origins
public string Id { get; }

Property Value

string

Name

Gets the name of the element when used in a parsed template
public string Name { get; }

Property Value

string

Settings

Gets a collection of settings from the elements settings attribute
public NameValueCollection Settings { get; }

Property Value

NameValueCollection

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; }

Property Value

string
To top