Class PageTemplateFilterContext
- Namespace
- Kentico.PageBuilder.Web.Mvc.PageTemplates
- Assembly
- Kentico.Content.Web.Mvc.dll
Represents the page template filter context.
public class PageTemplateFilterContext
- Inheritance
-
objectPageTemplateFilterContext
- Extension Methods
Constructors
PageTemplateFilterContext(int, string, string)
Creates a new instance of PageTemplateFilterContext.
public PageTemplateFilterContext(int parentWebPageItemId, string contentTypeName, string languageName)
Parameters
parentWebPageItemId
intThe id of the parent of the web page that is to be created.
contentTypeName
stringThe content type of the web page that is to be created.
languageName
stringThe language name of the web page that is to be created.
Properties
ContentTypeName
Gets the web page content type of the web page that is to be created. If the web page already exists, returns the web page content type of the existing web page.
public string ContentTypeName { get; }
Property Value
- string
LanguageName
Gets the language name of the web page that is to be created. If the web page already exists, returns the language name of the existing web page.
public string LanguageName { get; }
Property Value
- string
ParentWebPageItemId
Gets the id of the parent of the web page that is to be created. If the web page already exists, returns the id of the parent of the existing web page.
public int ParentWebPageItemId { get; }
Property Value
- int