Table of Contents

Class CreateWebPageEventArgs

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Event arguments for Create event.

public sealed class CreateWebPageEventArgs : CMSEventArgs
Inheritance
object
EventArgs
CreateWebPageEventArgs
Inherited Members
Extension Methods

Constructors

CreateWebPageEventArgs()

Initializes a new instance of CreateWebPageEventArgs.

public CreateWebPageEventArgs()

Properties

ContentItemData

Content item data.

public ContentItemData ContentItemData { get; init; }

Property Value

ContentItemData

ContentLanguageID

Content language ID.

public int ContentLanguageID { get; init; }

Property Value

int

ContentLanguageName

Content language name.

public string ContentLanguageName { get; init; }

Property Value

string

ContentTypeID

Content type identifier.

public int ContentTypeID { get; init; }

Property Value

int

ContentTypeName

Content type name.

public string ContentTypeName { get; init; }

Property Value

string

DisplayName

Web page display name, used to identify the item in user interface.

public string DisplayName { get; set; }

Property Value

string

Guid

Web page unique identifier.

public Guid? Guid { get; init; }

Property Value

Guid?

Remarks

The value is available only in After event.

ID

Web page identifier.

public int? ID { get; init; }

Property Value

int?

Remarks

The value is available only in After event.

IsSecured

Indicates if web page is secured.

public bool IsSecured { get; set; }

Property Value

bool

Name

Code name of the web page.

public string Name { get; set; }

Property Value

string

Order

Web page order.

public int Order { get; init; }

Property Value

int

ParentID

Web page parent identifier.

public int ParentID { get; init; }

Property Value

int

ScheduledPublishWhen

Date and time when the web page should be published.

public DateTime? ScheduledPublishWhen { get; init; }

Property Value

DateTime?

ScheduledUnpublishWhen

Date and time when the web page should be unpublished.

public DateTime? ScheduledUnpublishWhen { get; init; }

Property Value

DateTime?

TreePath

Web page tree path.

public string TreePath { get; init; }

Property Value

string

Remarks

The value is available only in After event.

UrlPathSlug

Web page URL path slug.

public string UrlPathSlug { get; set; }

Property Value

string

Remarks

If the web page is accessible via URL this will be used as it's URL slug. Normalized DisplayName value will be used if the value is not set.

VersionStatus

Version status in which the web page was created.

public VersionStatus VersionStatus { get; init; }

Property Value

VersionStatus

WebsiteChannelID

Website channel identifier.

public int WebsiteChannelID { get; init; }

Property Value

int

WebsiteChannelName

Website channel name.

public string WebsiteChannelName { get; init; }

Property Value

string