Table of Contents

Class PageInfoViewModel

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Represents a view model for a page, providing access to metadata, content, and related configurations.

public class PageInfoViewModel : ViewModelBase
Inheritance
PageInfoViewModel
Inherited Members

Remarks

This view model is typically used to represent pages in a web application, providing essential details such as metadata (title, description, keywords), creation and update timestamps, and content structure.

Constructors

PageInfoViewModel()

Initializes a new instance of the PageInfoViewModel class.

public PageInfoViewModel()

Properties

AreaID

Gets or sets the identifier of the area to which the page belongs.

public int AreaID { get; set; }

Property Value

int

An integer representing the area ID.

ColorScheme

Gets or sets the color scheme for the page.

public ColorSchemeViewModel? ColorScheme { get; set; }

Property Value

ColorSchemeViewModel

The color scheme as a ColorSchemeViewModel.

CreatedDate

Gets or sets the date and time when the page was created.

public DateTime CreatedDate { get; set; }

Property Value

DateTime

A DateTime representing the creation date and time.

Description

Gets or sets the description of the page.

public string? Description { get; set; }

Property Value

string

A string containing the page description, typically used for SEO purposes.

ID

Gets or sets the unique identifier for the page.

public int ID { get; set; }

Property Value

int

An integer representing the page ID.

Item

Gets or sets the item associated with the page.

public ItemViewModel? Item { get; set; }

Property Value

ItemViewModel

An ItemViewModel representing the content or configuration item for the page.

Keywords

Gets or sets the keywords associated with the page.

public string? Keywords { get; set; }

Property Value

string

A string containing keywords for the page, often used in metadata for search engines.

Languages

Gets or sets the available languages for the page.

public IList<PageLanguageViewModel> Languages { get; set; }

Property Value

IList<PageLanguageViewModel>

A list of PageLanguageViewModel objects representing the page's language variations.

Name

Gets or sets the name of the page.

public string? Name { get; set; }

Property Value

string

A string representing the name of the page.

Path

Gets or sets the path of the page as a list of page references.

public IList<PageReferenceViewModel> Path { get; set; }

Property Value

IList<PageReferenceViewModel>

A list of PageReferenceViewModel objects representing the page's hierarchical path.

PropertyItem

Gets or sets the property item associated with the page.

public ItemViewModel? PropertyItem { get; set; }

Property Value

ItemViewModel

An ItemViewModel representing property-specific configuration or content for the page.

Sort

Gets or sets the sort order of the page.

public int Sort { get; set; }

Property Value

int

An integer representing the sort order for displaying pages.

Title

Gets or sets the title of the page.

public string? Title { get; set; }

Property Value

string

A string representing the page title.

UpdatedDate

Gets or sets the date and time when the page was last updated.

public DateTime UpdatedDate { get; set; }

Property Value

DateTime

A DateTime representing the last update date and time.

See Also

To top