Try our conversational search powered by Generative AI!

Class ContentContext.ContentPropertiesStack

Contains information about current rendering context.

Inheritance
System.Object
ContentContext.ContentPropertiesStack
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ContentPropertiesStack

Constructors

ContentPropertiesStack()

Initializes a new instance of the ContentContext.ContentPropertiesStack class.

Declaration
public ContentPropertiesStack()

Properties

Content

Gets the current content rendering.

Declaration
public IContent Content { get; }
Property Value
Type Description
IContent

The content.

Gets or sets the content link that is currently rendered.

Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

The content link.

StackedProperties

Gets or sets the stacked properties.

Declaration
public Stack<string> StackedProperties { get; set; }
Property Value
Type Description
System.Collections.Generic.Stack<System.String>

The stacked properties.

Extension Methods