Class PageInfoViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Represents a view model for a page, providing access to metadata, content, and related configurations.
- Inheritance
-
Page
Info View Model
- 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 Page
Properties
AreaID
Gets or sets the identifier of the area to which the page belongs.
Property Value
- int
An integer representing the area ID.
ColorScheme
Gets or sets the color scheme for the page.
Property Value
- Color
Scheme View Model The color scheme as a Color
Scheme .View Model
CreatedDate
Gets or sets the date and time when the page was created.
Property Value
Description
Gets or sets the description of the page.
Property Value
- string
A string containing the page description, typically used for SEO purposes.
ID
Gets or sets the unique identifier for the page.
Property Value
- int
An integer representing the page ID.
Item
Gets or sets the item associated with the page.
Property Value
- Item
View Model An Item
View representing the content or configuration item for the page.Model
Keywords
Gets or sets the keywords associated with the page.
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.
Property Value
- IList<Page
Language >View Model A list of Page
Language objects representing the page's language variations.View Model
Name
Gets or sets the name of the page.
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.
Property Value
- IList<Page
Reference >View Model A list of Page
Reference objects representing the page's hierarchical path.View Model
PropertyItem
Gets or sets the property item associated with the page.
Property Value
- Item
View Model An Item
View representing property-specific configuration or content for the page.Model
Sort
Gets or sets the sort order of the page.
Property Value
- int
An integer representing the sort order for displaying pages.
Title
Gets or sets the title of the page.
Property Value
- string
A string representing the page title.
UpdatedDate
Gets or sets the date and time when the page was last updated.