Struct DynamicRootContext
Represents the context for resolving a dynamic root, containing information about the current and parent content items.
Namespace: Umbraco.Cms.Core.DynamicRoot
Assembly: Umbraco.Core.dll
Syntax
public struct DynamicRootContext
Properties
View SourceCurrentKey
Gets or sets the unique identifier of the current content item, or null when creating new content.
Declaration
public required Guid? CurrentKey { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
ParentKey
Gets or sets the unique identifier of the parent content item.
Declaration
public required Guid ParentKey { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |