AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

HierarchyData<(Of <(<'T>)>)> Methods

The HierarchyData<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method GetChildren
Returns the child nodes of this node as a HierarchicalModelList, recursively wrapping each child in its own HierarchyData<(Of <(<'T>)>)> adapter via [HierarchyConverter.ToHierarchicalModelList{T}]. Called by data-bound controls when expanding a tree node.
Public method GetParent
Returns the parent of this node, wrapped in a new [HierarchyData{T}] adapter. Called by data-bound controls for upward navigation (e.g., breadcrumb rendering).
Public method ToString
Returns the string representation of the underlying data item (via [IModelWithHierarchy{T}.Item]), which data-bound controls may use as default display text.