Class CanvasState
- Namespace
- Sitecore.AspNetCore.SDK.Pages.Response
- Assembly
- Sitecore.AspNetCore.SDK.Pages.dll
Class used to store the ClientData editing context, used to enable Pages functionality.
public class CanvasState
- Inheritance
-
CanvasState
- Inherited Members
Properties
DeviceId
Gets or sets the id of the device being edited.
[JsonPropertyName("deviceId")]
public string? DeviceId { get; set; }
Property Value
ItemId
Gets or sets the id of the item being edited.
[JsonPropertyName("itemId")]
public string? ItemId { get; set; }
Property Value
ItemVersion
Gets or sets the Version of the item being edited.
[JsonPropertyName("itemVersion")]
public int? ItemVersion { get; set; }
Property Value
- int?
Language
Gets or sets the language of the item being edited.
[JsonPropertyName("language")]
public string? Language { get; set; }
Property Value
PageMode
Gets or sets the current page mode.
[JsonPropertyName("pageMode")]
public string? PageMode { get; set; }
Property Value
SiteName
Gets or sets the name of the site being edited.
[JsonPropertyName("siteName")]
public string? SiteName { get; set; }
Property Value
Variant
Gets or sets the current id of the variant being edited.
[JsonPropertyName("variant")]
public string? Variant { get; set; }