Class LayoutPart
Provides the css-class and number of columns. There can be a collection of these to build a layout on a tab.
Inheritance
System.Object
LayoutPart
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.0Syntax
[Obsolete("The EPiServer 6 Dashboard has been replaced with EPiServer.ViewComposition namespace.")]
public class LayoutPart : ICloneable
Constructors
LayoutPart()
Initializes a new instance of the LayoutPart class.
Declaration
public LayoutPart()
LayoutPart(String, Int32)
Initializes a new instance of the LayoutPart class.
Declaration
public LayoutPart(string cssClass, int columns)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The CSS class. |
System.Int32 | columns | The columns. |
Properties
Columns
Gets the number of columns in the layout part.
Declaration
public int Columns { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The columns. |
CssClass
Gets the CSS class.
Declaration
public string CssClass { get; }
Property Value
Type | Description |
---|---|
System.String | The CSS class. |
Methods
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. |
Implements
System.ICloneable