SaaS CMS has officially launched! Learn more now.

Class GadgetElementCollection

Describes gadget in dashboard template

Inheritance
System.Object
GadgetElementCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 7.19.2
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.

Extension Methods