Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class GadgetElementCollection

Describes gadget in dashboard template

Inheritance
System.Object
GadgetElementCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
[Obsolete("The EPiServer 6 Dashboard configuration element has been replaced with the ViewManager element.")]
public class GadgetElementCollection : ConfigurationElementCollection

Constructors

GadgetElementCollection()

Declaration
public GadgetElementCollection()

Methods

CreateNewElement()

Creates a new GadgetElement.

Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type Description
System.Configuration.ConfigurationElement

A new GadgetElement.

GetElementKey(ConfigurationElement)

Gets the element key for a specified configuration elemen.

Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type Name Description
System.Configuration.ConfigurationElement element

The GadgetElement to return the key for.

Returns
Type Description
System.Object

A name of the gadget that acts as the key for the specified GadgetElement.