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

The main class representing MultiColumn Headers in RadGrid. A Grid column group can contain grid columns as well as other Column groups which form the hierarchical structure of the MultiColumn Headers.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridColumnGroup : StateManager, IMarkableStateManager, IStateManager, IComparable, IDisposable

Inheritance: objectStateManagerGridColumnGroup

Implements: IComparableIDisposableIMarkableStateManagerIStateManager

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

Constructors

C#
public GridColumnGroup()

Properties

Gets the colSpan of the multiheader cell. Read only.

C#
public int ColSpan { get; }

Style of the column group cell.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public virtual TableItemStyle HeaderStyle { get; }

Sets the displayed text in the header

C#
public string HeaderText { get; set; }

Sets the name of the column group

C#
public string Name { get; set; }

Sets the parent group name of the column group

C#
public string ParentGroupName { get; set; }

Gets the visiblility of the multiheader cell. Read only.

C#
public bool Visible { get; }

Methods

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

C#
public int CompareTo(object obj)
Parameters:objobject

An object to compare with this instance.

Returns:

int

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes obj in the sort order. Zero This instance occurs in the same position in the sort order as obj. Greater than zero This instance follows obj in the sort order.

Exceptions: ArgumentException

obj is not the same type as this instance.

Implements: IComparable.CompareTo(object)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()