Table of Contents

Class Context

Namespace
Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model
Assembly
Sitecore.AspNetCore.SDK.LayoutService.Client.dll

Represents the context of a Sitecore layout response.

public class Context
Inheritance
Context
Inherited Members

Properties

IsEditing

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

[DataMember(Name = "pageEditing")]
[JsonPropertyName("pageEditing")]
public bool IsEditing { get; set; }

Property Value

bool

Language

Gets or sets the language of the response.

public string Language { get; set; }

Property Value

string

PageState

Gets or sets the PageState of the response.

public PageState? PageState { get; set; }

Property Value

PageState?

Site

Gets or sets the Site of the response.

public Site? Site { get; set; }

Property Value

Site