OrgChartNode
Represents an OrgChartNode in the RadOrgChart control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class OrgChartNode : IOrgChartNodeContainer, IOrgChartRendererContainer, IXmlSerializable, IDisposable
Inheritance: objectOrgChartNode
Implements:
Inherited Members
Constructors
Initializes a new instance of the OrgChartNode class.
public OrgChartNode()
Properties
Gets or sets whether the Node to be collapsed/expand
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.
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.
[Browsable(false)]
public OrgChartNodeCollection Container { get; }
The collection containing the current Node.
Gets or sets the CSS class of the OrgChartNode.
public string CssClass { get; set; }
The set CSS class is rendered additionally to the Node.
Gets or sets whether the GroupItems of the Node to be collapsed/expand
public bool GroupCollapsed { get; set; }
The property takes effect if EnableGroupCollapsing property of the RadOrgChart is set to true.
Gets or sets OrgChartNode OrgChartGroupItemCollection.
[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.
public string ID { get; }
Gets or sets Template for all contained GroupItems.
[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.
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.
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartNodeCollection Nodes { get; }
Implements:
Gets OrgChartNode parent in the hierarchy (OrgChartNode/RadOrgChart).
[Browsable(false)]
public IOrgChartNodeContainer Parent { get; }
Gets OrgChartRenderedFieldCollection for theOrgChartGroupItem.
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartRenderedFieldCollection RenderedFields { get; }
Gets the OrgChartNodeRenderer for OrgChartNode.
public OrgChartNodeRendererBase Renderer { get; }
Methods
public void DataBind()
public void Dispose()
Implements:
Synchronize OrgChartNodeRenderer properties during OnPreRender stage.
public void SyncRenderedProperties()
Implements: