Class AreaViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
AreaViewModel represents the rendering context used when an area is rendered.
- Inheritance
-
Area
View Model
- Inherited Members
Constructors
AreaViewModel()
Initializes a new instance of the Area
Properties
CartPage
Gets or sets the cart page.
Property Value
- Page
Reference View Model The cart page as a Page
Reference .View Model
ColorScheme
Gets or sets the color scheme.
Property Value
- Color
Scheme View Model The color scheme as an Color
Scheme .View Model
CreatedDate
Gets or sets the created date. This property is set based on the value of the Created
On it's initialization the value of Now is used, which is based on the computers local environment.
Property Value
- Date
Time The created date as a date time e.g. "2024-02-24 12:21".
DateFormat
Gets or sets the date format. The format is of the form Short
Property Value
- string
The date format specific to the chosen culture for the area.
FirstActivePage
Gets or sets the first active page.
Property Value
- Page
Reference View Model The first active page as a Page
Reference .View Model
FirstPage
Gets or sets the first page.
Property Value
- Page
Reference View Model The first page as a Page
Reference .View Model
ID
Gets or sets the identifier.
Property Value
- int
The identifier e.g. '5'.
Item
Gets or sets the item.
Property Value
- Item
View Model The item as a Item
View .Model
ItemId
Gets or sets the item identifier based of the Item
Property Value
- string
The item identifier e.g. '5'.
ItemType
Gets or sets the type of the item.
Property Value
- string
The type of the item e.g. 'Swift_master'.
Languages
Gets or sets the languages.
Property Value
- IList<Area
Language >View Model The languages as IList<T>.
Name
Gets or sets the name.
Property Value
- string
The name e.g. "New area view model".
SearchPage
Gets or sets the search page.
Property Value
- Page
Reference View Model The search page as a Page
Reference .View Model
Typography
Gets or sets the typography.
Property Value
- Typography
View Model The typography as an Typography
View .Model
UpdatedDate
Gets or sets the updated date. This property is set based on the value of the Last
The value of the property is based on the computers local environment.
Property Value
- Date
Time The updated date as a date time e.g. "2024-02-24 12:21".