Class DisabledGadgetsCollection
A collection of gadgets that should be disabled.
Inheritance
System.Object
DisabledGadgetsCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 9.12.2Syntax
public class DisabledGadgetsCollection : ConfigurationElementCollection
Constructors
DisabledGadgetsCollection()
Declaration
public DisabledGadgetsCollection()
Methods
Add(DisabledGadgetElement)
Adds a gadget element to the collection of disabled gadgets.
Declaration
public void Add(DisabledGadgetElement element)
Parameters
Type | Name | Description |
---|---|---|
DisabledGadgetElement | element | The element to add |
CreateNewElement()
When overridden in a derived class, creates a new System.Configuration.ConfigurationElement.
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
System.Configuration.ConfigurationElement | A new System.Configuration.ConfigurationElement. |
GetElementKey(ConfigurationElement)
Gets the element key for a specified configuration element when overridden in a derived class.
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConfigurationElement | element | The System.Configuration.ConfigurationElement to return the key for. |
Returns
Type | Description |
---|---|
System.Object | An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement. |