Table of Contents

Class UpdateWebPageDraftEventData

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Contains the business data for web page draft update events.

public sealed class UpdateWebPageDraftEventData
Inheritance
object
UpdateWebPageDraftEventData
Extension Methods

Remarks

This class holds event-specific data that is shared between before and after update web page draft events. It represents the business context of the event (web page details) and is separate from cross-handler communication state.

Constructors

UpdateWebPageDraftEventData()

Initializes a new instance of the UpdateWebPageDraftEventData class.

public UpdateWebPageDraftEventData()

Remarks

Intended for testing scenarios.

Properties

AccessSettings

Access control settings for the web page item.

public ContentAccessSettings AccessSettings { get; init; }

Property Value

ContentAccessSettings

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; init; }

Property Value

string

Guid

Web page unique identifier.

public Guid Guid { get; init; }

Property Value

Guid

ID

Web page identifier.

public int ID { get; init; }

Property Value

int

Name

Code name of the web page.

public string Name { get; init; }

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

TreePath

Web page tree path.

public string TreePath { get; init; }

Property Value

string

UrlPathSlug

Web page URL path slug.

public string UrlPathSlug { get; set; }

Property Value

string

Remarks

The URL path slug will be updated if the web page is accessible via URL and the property value is not null or string.Empty.

WebsiteChannelID

Website channel identifier.

public int WebsiteChannelID { get; init; }

Property Value

int

WebsiteChannelName

Website channel name.

public string WebsiteChannelName { get; init; }

Property Value

string