Table of Contents

Class DynamicElementCollection

Namespace
Dynamicweb.Rendering.Designer
Assembly
Dynamicweb.Core.dll

A collection of DynamicElement

public class DynamicElementCollection : List<DynamicElement>, IList<DynamicElement>, ICollection<DynamicElement>, IReadOnlyList<DynamicElement>, IReadOnlyCollection<DynamicElement>, IEnumerable<DynamicElement>, IList, ICollection, IEnumerable
Inheritance
DynamicElementCollection
Implements
Inherited Members
Extension Methods

Methods

Add(DynamicElement)

Adds the specified item.

public void Add(DynamicElement item)

Parameters

item DynamicElement

The item.

ElementExits(string)

Checks if a DynamicElement exists based on the specified name.

public bool ElementExits(string name)

Parameters

name string

The name.

Returns

bool

GetElementByName(string)

Gets a DynamicElement by its name.

public DynamicElement GetElementByName(string name)

Parameters

name string

The name.

Returns

DynamicElement

Sort(SortBy)

Sorts the collection with the specified sort type.

public void Sort(DynamicElementCollection.SortBy sortType)

Parameters

sortType DynamicElementCollection.SortBy

Type of the sort.

To top