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 : Object

Constructors

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
TypeDescription
System.Boolean

Language

Gets or sets the language of the response.

Declaration
RequestResponse
public string Language { get; set; }
Property Value
TypeDescription
System.String

PageState

Gets or sets the PageState of the response.

Declaration
RequestResponse
public Nullable<PageState> PageState { get; set; }
Property Value
TypeDescription
System.Nullable<PageState>

Site

Gets or sets the Site of the response.

Declaration
RequestResponse
public Site Site { get; set; }
Property Value
TypeDescription
Site

Do you have some feedback for us?

If you have suggestions for improving this article,