Class BootstrapperViewModel
Used to start a shell client side view
Inheritance
System.Object
BootstrapperViewModel
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.Web.Mvc
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public class BootstrapperViewModel
Constructors
BootstrapperViewModel()
Initializes a new instance of the BootstrapperViewModel class.
Declaration
public BootstrapperViewModel()
Properties
ComponentCategories
Gets or sets the component categories that filters what component can be added to the view.
Declaration
public IEnumerable<string> ComponentCategories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The component categories. |
DefaultContext
Defines a default context for the view, for instance the start page for the CMS home view.
Declaration
public string DefaultContext { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Set to null if the view should not have a default context.
GlobalNavigationMenuType
Gets or sets how to render the global navigation menu
Declaration
public GlobalNavigationMenuType GlobalNavigationMenuType { get; set; }
Property Value
Type | Description |
---|---|
GlobalNavigationMenuType |
ModuleName
Gets or sets the name of the shell module to start.
Declaration
public string ModuleName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the shell module. |
Modules
All modules available in the system.
Declaration
public IEnumerable<ModuleViewModel> Modules { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ModuleViewModel> | The modules. |
UseContainers
Gets or sets whether to use a bordercontainer for the layout
Declaration
public bool UseContainers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ViewName
The name of the view to load.
Declaration
public string ViewName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ViewSettings
Gets or sets the view settings.
Declaration
public Dictionary<string, object> ViewSettings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | The view settings. |
ViewTitle
Title of the loaded view
Declaration
public string ViewTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String |