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 Gadget

Inheritance
System.Object
Gadget
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Gadgets
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[EPiServerDataTable(TableName = "tblSystemBigTable")]
[EPiServerDataStore(StoreName = "GadgetStore")]
[Obsolete("The Episerver gadget framework has been deprecated and was replaced by the Episerver Components.")]
public class Gadget : ICloneable

Constructors

Gadget()

Declaration
public Gadget()

Gadget(GadgetDefinition)

Declaration
public Gadget(GadgetDefinition definition)
Parameters
Type Name Description
GadgetDefinition definition

Properties

ControllerTypeName

Declaration
public string ControllerTypeName { get; set; }
Property Value
Type Description
System.String

Definition

Declaration
public GadgetDefinition Definition { get; set; }
Property Value
Type Description
GadgetDefinition

IconUrl

Declaration
public string IconUrl { get; }
Property Value
Type Description
System.String

Id

Declaration
[Obsolete("The Id property should no longer be used since gadgets are wrapped in IComponent instances with a different id hierarchy")]
public Guid Id { get; set; }
Property Value
Type Description
System.Guid

IsDeleted

Declaration
public bool IsDeleted { get; set; }
Property Value
Type Description
System.Boolean

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

TemplateId

Declaration
public Guid TemplateId { get; set; }
Property Value
Type Description
System.Guid

Title

Declaration
public string Title { get; }
Property Value
Type Description
System.String

Methods

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

GetRouteValues()

Declaration
public RouteValueDictionary GetRouteValues()
Returns
Type Description
System.Web.Routing.RouteValueDictionary

Implements

System.ICloneable

Extension Methods