Class Context
Version: 21.x
Represents the context of a Sitecore layout response.
Inheritance
System.Object
Context
Namespace: Sitecore.LayoutService.Client.Response.Model
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
Constructors
Context()
Declaration
Properties
IsEditing
Gets or sets a value indicating whether the page is in editing mode.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Language
Gets or sets the language of the response.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
PageState
Gets or sets the PageState of the response.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<PageState> |
Site
Gets or sets the Site of the response.
Declaration
Property Value
| Type | Description |
|---|---|
| Site |