Click or drag to resize

PageViewModel Class

PageViewModel represents the rendering context used when a page is rendered.
Inheritance Hierarchy

Namespace:  Dynamicweb.Frontend
Assembly:  Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax
public class PageViewModel : ViewModelBase

The PageViewModel type exposes the following members.

Constructors
  NameDescription
Public methodPageViewModel
Initializes a new instance of the PageViewModel class
Top
Properties
  NameDescription
Public propertyArea
Gets or sets the area.
Public propertyCart
Gets or sets the current cart.
Public propertyContent
Gets or sets the content as a dictionary of content placeholder ids (key) and its content html (the value).
Public propertyCreatedDate
Gets or sets the created date.
Public propertyCurrentSecondaryUser
Gets or sets the current secondary user.
Public propertyCurrentUser
Gets or sets the current user.
Public propertyDescription
Gets or sets the description.
Public propertyGridContent
Public propertyID
Gets or sets the identifier.
Public propertyIsCurrentUserAllowed
Gets a boolean that indicates if the current user, anonymous or not, has access to the current page. GetLogonDialog
Public propertyItem
Gets or sets the item.
Public propertyItemId
Gets or sets the item identifier.
Public propertyItemType
Gets or sets the type of the item.
Public propertyKeywords
Gets or sets the keywords.
Public propertyLanguages
Gets or sets the languages.
Public propertyLogOnFailed
Gets or sets log on failed state.
Public propertyLogOnFailedReason
Gets or sets log on failed reason.
Public propertyMetaTags
Gets or sets the meta tags.
Public propertyName
Gets or sets the name.
Public propertyPath
Gets or sets the path.
Public propertyPropertyItem
Gets or sets the property item.
Public propertyPropertyItemId
Gets or sets the property item identifier.
Public propertyPropertyItemType
Gets or sets the type of the property item.
Public propertySecondaryUsers
Gets or sets the secondary users.
Public propertyShowUpdatedDate
Gets or sets a value indicating whether to show updated date.
Public propertyTitle
Gets or sets the title.
Public propertyTopPage
Gets or sets the top page.
Public propertyUpdatedDate
Gets or sets the updated date.
Top
Methods
  NameDescription
Public methodGetCookieWarningContent
Gets the content of the cookie warning.
Public methodGetLogonDialog
Gets the content of the logon dialog that may needs to be rendered on pages where the user does not have access. IsCurrentUserAllowed
Public methodGrid
Public methodPlaceholder(String)
Placeholder for a content placed in a layout container.
Public methodPlaceholder(String, String)
Placeholder for a content placed in a layout container.
Public methodPlaceholder(String, String, String)
Placeholder for a content placed in a layout container.
Public methodToJson (Inherited from ViewModelBase.)
Top
See Also