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

Class ContentWebFormsBase

Namespace: EPiServer.Shell.WebForms
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class ContentWebFormsBase : WebFormsBase, ISupportsScriptManager, ISystemMessageSink, IContentSource

Constructors

ContentWebFormsBase()

Declaration
public ContentWebFormsBase()

Properties

CurrentContent

Declaration
public virtual IContent CurrentContent { get; set; }
Property Value
Type Description
IContent
Declaration
public virtual ContentReference CurrentContentLink { get; set; }
Property Value
Type Description
ContentReference

Methods

AccessDenied()

Declaration
public virtual void AccessDenied()

CheckAccess()

Declaration
public void CheckAccess()

Get<T>(ContentReference)

Declaration
public virtual T Get<T>(ContentReference contentLink)
    where T : IContentData
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
T
Type Parameters
Name Description
T

Get<T>(ContentReference, LanguageSelector)

Declaration
public virtual T Get<T>(ContentReference contentLink, LanguageSelector selector)
    where T : IContentData
Parameters
Type Name Description
ContentReference contentLink
LanguageSelector selector
Returns
Type Description
T
Type Parameters
Name Description
T

GetChildren<T>(ContentReference)

Declaration
public virtual IEnumerable<T> GetChildren<T>(ContentReference contentLink)
    where T : IContentData
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T

QueryAccess()

Declaration
public virtual AccessLevel QueryAccess()
Returns
Type Description
AccessLevel

QueryDistinctAccess()

Declaration
public bool QueryDistinctAccess()
Returns
Type Description
System.Boolean

RequiredAccess()

Declaration
public virtual AccessLevel RequiredAccess()
Returns
Type Description
AccessLevel

Implements

Extension Methods