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

Represents an OrgChartGroupItem in the RadOrgChart control.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class OrgChartGroupItem : IOrgChartRendererContainer, IXmlSerializable, IDisposable

Inheritance: objectOrgChartGroupItem

Implements: IDisposableIOrgChartRendererContainerIXmlSerializable

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 OrgChartGroupItem class.

C#
public OrgChartGroupItem()

Properties

Gets or sets the CSS class of the GroupItem.

C#
public string CssClass { get; set; }

The set CSS class is rendered additionally to the GroupItem.

Gets or sets data source DataItem during data binding.

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

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

C#
public string ID { get; }

The value is set in Group-Enabled binding.

Gets or sets the item image's alternative text.

C#
public string ImageAltText { get; set; }

Gets or sets the item's image URL.

C#
public string ImageUrl { get; set; }
Property Value:

The URL can be a full or relative path to an image.

If the property is not set a default image will be rendered.

Example:
C#
This example shows how set ImageURL

Gets or sets the OrgChartNode to which the OrgChartGroupItem belongs.

C#
[Browsable(false)]
public OrgChartNode Node { get; }

Gets or sets the RadOrgChart to which the OrgChartGroupItem belongs.

C#
[Browsable(false)]
public RadOrgChart OrgChart { get; set; }
C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public OrgChartRenderedFieldCollection RenderedFields { get; }
C#
public OrgChartGroupItemRendererBase Renderer { get; }

Gets or sets the Template for OrgChartGroupItem.

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

When a template is set, it is applied only for the current item.

Gets or sets item's text.

C#
public string Text { get; set; }

The set text will be rendered on the item.

Methods

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

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

Although OrgChartGroupItem is not a Control inheritor, it provides a method to search controls in its renderer (OrgChartGroupItemRendererBase).

C#
public Control FindControl(string id)
Parameters:idstring

The id of the searched control

Returns:

Control

Control instance or null

Synchronize OrgChartGroupItemRenderer properties during OnPreRender stage.

C#
public void SyncRenderedProperties()

Implements: IOrgChartRendererContainer.SyncRenderedProperties()