Class ComponentViewModel
Inheritance
System.Object
ComponentViewModel
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()
Assembly: EPiServer.Shell.UI.dll
Version: 11.20.7
Syntax
public class ComponentViewModel : IContainer, IComponent, ICloneable
Constructors
ComponentViewModel()
Declaration
public ComponentViewModel()
ComponentViewModel(IComponent, String)
Declaration
public ComponentViewModel(IComponent component, string viewName)
Parameters
Type |
Name |
Description |
IComponent |
component |
|
System.String |
viewName |
|
ComponentViewModel(IComponent, String, Nullable<Guid>)
Declaration
public ComponentViewModel(IComponent component, string viewName, Guid? parentId)
Parameters
Type |
Name |
Description |
IComponent |
component |
|
System.String |
viewName |
|
System.Nullable<System.Guid> |
parentId |
|
Properties
Components
Declaration
public IList<ComponentViewModel> Components { get; set; }
Property Value
ContainerType
Declaration
public ContainerType ContainerType { get; set; }
Property Value
DefinitionName
Declaration
public string DefinitionName { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
public Guid Id { get; set; }
Property Value
Type |
Description |
System.Guid |
|
ModuleName
Declaration
public string ModuleName { get; set; }
Property Value
Type |
Description |
System.String |
|
ParentId
Declaration
public Guid? ParentId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
PlugInArea
Declaration
public string PlugInArea { get; set; }
Property Value
Type |
Description |
System.String |
|
Settings
Declaration
public ISettingsDictionary Settings { get; }
Property Value
SortOrder
Declaration
public int SortOrder { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ViewName
Declaration
public string ViewName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string WidgetType { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Add(IComponent)
Declaration
public IContainer Add(IComponent component)
Parameters
Returns
ApplyChanges(IComponent)
Declaration
public IComponent ApplyChanges(IComponent destination)
Parameters
Returns
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|
SortComponents(Comparison<IComponent>)
Declaration
public void SortComponents(Comparison<IComponent> comparison)
Parameters
Type |
Name |
Description |
System.Comparison<IComponent> |
comparison |
|
Explicit Interface Implementations
IContainer.Components
Declaration
IList<IComponent> IContainer.Components { get; }
Returns
Type |
Description |
System.Collections.Generic.IList<IComponent> |
|
Implements
System.ICloneable
Extension Methods