November Happy Hour will be moved to Thursday December 5th.

Interface ICompositeView

Defines the view

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 9.12.2
Syntax
public interface ICompositeView

Properties

DefaultContext

Defines a default context for the view, for instance the start page for the CMS home view.

Declaration
string DefaultContext { get; }
Property Value
Type Description
System.String
Remarks

Set to null if the view should not have a default context.

Name

Gets the name of the view. Used or finding views.

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

The name.

Remarks

The name of the name should be unique. For instance "/episerver/dashboard" or "/partnername/customview".

RootContainer

Gets the root IContainer for the view.

Declaration
IContainer RootContainer { get; }
Property Value
Type Description
IContainer

The container.

Title

Gets a localized title for this view

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

Methods

CreateView()

Creates a new instance of the view.

Declaration
ICompositeView CreateView()
Returns
Type Description
ICompositeView

A new instance of the view.

Extension Methods