Class NavDataPageHierarchyData
Inheritance
Implements
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class NavDataPageHierarchyData : IHierarchyData
Constructors
| Improve this Doc View SourceNavDataPageHierarchyData(DNNNode)
Initializes a new instance of the NavDataPageHierarchyData class.
Declaration
public NavDataPageHierarchyData(DNNNode obj)
Parameters
Type | Name | Description |
---|---|---|
DNNNode | obj | The node. |
Properties
| Improve this Doc View SourceDescription
Gets node description.
Declaration
public virtual string Description { get; }
Property Value
Type | Description |
---|---|
System.String | Returns Node description. |
HasChildren
Gets a value indicating whether indicates whether the hierarchical data node that the IHierarchyData object represents has any child nodes.
Declaration
public virtual bool HasChildren { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Indicates whether the hierarchical data node that the IHierarchyData object represents has any child nodes. |
ImageUrl
Gets nodes image.
Declaration
public virtual string ImageUrl { get; }
Property Value
Type | Description |
---|---|
System.String | Returns nodes image. |
Item
Gets the hierarchical data node that the IHierarchyData object represents.
Declaration
public virtual object Item { get; }
Property Value
Type | Description |
---|---|
System.Object | The hierarchical data node that the IHierarchyData object represents. |
Name
Gets node name.
Declaration
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Returns node name. |
NavigateUrl
Gets node navigation url.
Declaration
public virtual string NavigateUrl { get; }
Property Value
Type | Description |
---|---|
System.String | Returns node navigation url. |
Path
Gets the hierarchical path of the node.
Declaration
public virtual string Path { get; }
Property Value
Type | Description |
---|---|
System.String | The hierarchical path of the node. |
Type
Gets the name of the type of Object contained in the Item property.
Declaration
public virtual string Type { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the type of Object contained in the Item property. |
Value
Gets value path of node.
Declaration
public virtual string Value { get; }
Property Value
Type | Description |
---|---|
System.String | Returns value path of node. |
Methods
| Improve this Doc View SourceGetChildren()
Gets an enumeration object that represents all the child nodes of the current hierarchical node.
Declaration
public virtual IHierarchicalEnumerable GetChildren()
Returns
Type | Description |
---|---|
IHierarchicalEnumerable | A collection of nodes. |
GetParent()
Gets an enumeration object that represents the parent node of the current hierarchical node.
Declaration
public virtual IHierarchyData GetParent()
Returns
Type | Description |
---|---|
IHierarchyData | The parent node or null. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |