Table of Contents

Class PageTemplateFilterContext

Namespace
Kentico.PageBuilder.Web.Mvc.PageTemplates
Assembly
Kentico.Content.Web.Mvc.dll

Represents the page template filter context.

public class PageTemplateFilterContext
Inheritance
object
PageTemplateFilterContext
Extension Methods

Constructors

PageTemplateFilterContext(int, string, string)

Creates a new instance of PageTemplateFilterContext.

public PageTemplateFilterContext(int parentWebPageItemId, string contentTypeName, string languageName)

Parameters

parentWebPageItemId int

The id of the parent of the web page that is to be created.

contentTypeName string

The content type of the web page that is to be created.

languageName string

The 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