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
RequestResponse
public class Context : ObjectConstructors
Context()
Declaration
RequestResponse
public Context()Properties
IsEditing
Gets or sets a value indicating whether the page is in editing mode.
Declaration
RequestResponse
public bool IsEditing { get; set; }Property Value
| Type | Description |
|---|---|
| System.Boolean |
Language
Gets or sets the language of the response.
Declaration
RequestResponse
public string Language { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
PageState
Gets or sets the PageState of the response.
Declaration
RequestResponse
public Nullable<PageState> PageState { get; set; }Property Value
| Type | Description |
|---|---|
| System.Nullable<PageState> |
Site
Gets or sets the Site of the response.
Declaration
RequestResponse
public Site Site { get; set; }Property Value
| Type | Description |
|---|---|
| Site |