Nucleus .Net Core CMS

ViewModels.Layout Class

Namespace: Nucleus.ViewFeatures.ViewModels
Assembly: Nucleus.ViewFeatures.dll
View model for Nucleus layouts.
Layout (Context context)
Create a new instance of this class.
Parameters
Name Type
context Nucleus.Abstractions.Models.Context
Specifies whether the current user has edit rights for the current page.
Encapsulates information about the current request.
Remarks
Use the Context object to access Nucleus Site and Page information for the current request.
Css class used to control control panel docking location.
Url used to access the admin control panel.
Specifies whether the user has enabled inline edit mode.
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.
Gets the current request's site icon. This value can be empty, which means that no icon has been selected for the site.