Show / Hide Table of Contents

Class Context

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
public class Context : Object

Constructors

Context()

Declaration
public Context()

Properties

IsEditing

Gets or sets a value indicating whether the page is in editing mode.

Declaration
public bool IsEditing { get; set; }
Property Value
Type Description
System.Boolean

Language

Gets or sets the language of the response.

Declaration
public string Language { get; set; }
Property Value
Type Description
System.String

PageState

Gets or sets the PageState of the response.

Declaration
public Nullable<PageState> PageState { get; set; }
Property Value
Type Description
System.Nullable<PageState>

Site

Gets or sets the Site of the response.

Declaration
public Site Site { get; set; }
Property Value
Type Description
Site
Back to top Generated by DocFX