Class Tab

Tab exists in the Dashboard, keeps the Container list.

Inheritance
System.Object
Tab
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.Dashboard
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
[Obsolete("The EPiServer 6 Dashboard has been replaced with EPiServer.ViewComposition namespace.")]
public class Tab : ICloneable

Constructors

Tab()

Initializes a new instance of the Tab class.

Declaration
public Tab()

Tab(String, TabLayout)

Initializes a new instance of the Tab class.

Declaration
public Tab(string name, TabLayout layout)
Parameters
Type Name Description
System.String name

The name.

TabLayout layout

The layout.

Properties

Containers

Gets the containers.

Declaration
public Collection<Container> Containers { get; }
Property Value
Type Description
System.Collections.ObjectModel.Collection<Container>

The containers.

Id

Id for the tab

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

IsDeleted

Gets or sets a value indicating whether this instance is deleted.

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

true if this instance is deleted; otherwise, false.

Layout

Gets or sets the layout of the Containers.

Declaration
public TabLayout Layout { get; }
Property Value
Type Description
TabLayout

The layout.

Name

Gets or sets the name.

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

The name.

Methods

ChangeLayout(TabLayout)

Changes the layout of the containers. Adds or removes containers as necessary.

Declaration
public void ChangeLayout(TabLayout newLayout)
Parameters
Type Name Description
TabLayout newLayout

The new layout.

Clone()

Creates a new object that is a copy of the current instance.

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

A new object that is a copy of this instance.

GetContainer(Guid)

Gets the container.

Declaration
public Container GetContainer(Guid containerId)
Parameters
Type Name Description
System.Guid containerId

The container id.

Returns
Type Description
Container

The Container or null.

RemoveGadgetsMarkedAsDeleted()

Removes Gadgets instances that has been marked as IsDeletetd.

Declaration
public void RemoveGadgetsMarkedAsDeleted()

Implements

System.ICloneable