ViewModels.Layout Class
Namespace: Nucleus.ViewFeatures.ViewModels
Assembly: Nucleus.ViewFeatures.dll
View model for Nucleus layouts.
Constructor
Layout
(Context) Constructor
Layout (Context context)
Create a new instance of this class.
Properties
CanEdit
Property
Specifies whether the current user has edit rights for the current page.
Context
Property
Encapsulates information about the current request.
ControlPanelDockingCssClass
Property
Css class used to control control panel docking location.
ControlPanelUri
Property
Url used to access the admin control panel.
DefaultPageUri
Property
IsEditing
Property
Specifies whether the user has enabled inline edit mode.
SiteCssFilePath
Property
Gets the current request's site custom CSS file. This value can be empty, which means that no custom CSS file has been selected for the site.
SiteIconPath
Property
Gets the current request's site icon. This value can be empty, which means that no icon has been selected for the site.