Class ContentBaseUserControl
Inheritance
System.Object
ContentBaseUserControl
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class ContentBaseUserControl : UserControl
Constructors
ContentBaseUserControl()
Declaration
public ContentBaseUserControl()
Properties
CurrentContent
Declaration
public virtual IContent CurrentContent { get; set; }
Property Value
LocalizationService
Declaration
protected virtual LocalizationService LocalizationService { get; }
Property Value
Locate
Declaration
public ServiceLocationHelper Locate { get; }
Property Value
Methods
GetChildren<T>(ContentReference)
Declaration
public virtual IEnumerable<T> GetChildren<T>(ContentReference contentLink)
where T : IContentData
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
GetContent<T>(ContentReference)
Declaration
public virtual T GetContent<T>(ContentReference contentLink)
where T : IContentData
Parameters
Returns
Type Parameters
IsValue(String)
Declaration
public virtual bool IsValue(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
Description |
System.Boolean |
|
LoadDisplayTemplate(BlockData)
Declaration
public virtual Control LoadDisplayTemplate(BlockData blockData)
Parameters
Returns
Type |
Description |
System.Web.UI.Control |
|
RegisterClientScriptFile(String)
Declaration
public virtual void RegisterClientScriptFile(string rootRelativePath)
Parameters
Type |
Name |
Description |
System.String |
rootRelativePath |
|
Translate(String)
Declaration
public virtual string Translate(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
TranslateFallback(String, String)
Declaration
protected virtual string TranslateFallback(string key, string fallback)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
fallback |
|
Returns
Type |
Description |
System.String |
|
TranslateForScript(String)
Declaration
protected virtual string TranslateForScript(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
Extension Methods