New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents an OrgChartNode in the RadOrgChart control.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class OrgChartNode : IOrgChartNodeContainer, IOrgChartRendererContainer, IXmlSerializable, IDisposable

Inheritance: objectOrgChartNode

Implements: IDisposableIOrgChartNodeContainerIOrgChartRendererContainerIXmlSerializable

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the OrgChartNode class.

C#
public OrgChartNode()

Properties

Gets or sets whether the Node to be collapsed/expand

C#
public bool Collapsed { get; set; }

The property takes effect if EnableCollapsing property of the RadOrgChart is set to true.

Gets or sets the number of columns in the Node's visualization.

C#
public int ColumnCount { get; set; }

Simply breaks the single-line presentation of the group in RadOrgChart on multiple lines.

Gets the OrgChartNodeCollection containing the current Node.

C#
[Browsable(false)]
public OrgChartNodeCollection Container { get; }

The collection containing the current Node.

Gets or sets the CSS class of the OrgChartNode.

C#
public string CssClass { get; set; }

The set CSS class is rendered additionally to the Node.

C#
[Browsable(false)]
public object DataItem { get; set; }

Gets or sets whether the GroupItems of the Node to be collapsed/expand

C#
public bool GroupCollapsed { get; set; }

The property takes effect if EnableGroupCollapsing property of the RadOrgChart is set to true.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartGroupItemCollection GroupItems { get; }

Collection of all GroupItems in the Node.

Gets the value of the data field ID of the currently bound Node.

C#
public string ID { get; }

Gets or sets Template for all contained GroupItems.

C#
[TemplateContainer(typeof(OrgChartGroupItemRendererBase))]
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public ITemplate ItemTemplate { get; set; }

When a template is set, it is applied for all items in the Node, which doesn't have a template set.

Gets the depth level of the Node towards the RadOrgChart.

C#
public int Level { get; }

When the Node is not added in RadOrgChart, the level is -1.

Gets a collection of the direct child Nodes of the current.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartNodeCollection Nodes { get; }

Implements: IOrgChartNodeContainer.Nodes

Gets OrgChartNode parent in the hierarchy (OrgChartNode/RadOrgChart).

C#
[Browsable(false)]
public IOrgChartNodeContainer Parent { get; }
C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartRenderedFieldCollection RenderedFields { get; }
C#
public OrgChartNodeRendererBase Renderer { get; }

Methods

C#
public void DataBind()
C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
public string GetHierarchicalIndex()
Returns:

string

Synchronize OrgChartNodeRenderer properties during OnPreRender stage.

C#
public void SyncRenderedProperties()

Implements: IOrgChartRendererContainer.SyncRenderedProperties()