Class DataGroup
Represents a data group.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class DataGroup : DataItemGroup<GridViewRowInfo>, IReadOnlyCollection<GridViewRowInfo>, IEnumerable<GridViewRowInfo>, IEnumerable
Constructors
DataGroup(Object, Group<GridViewRowInfo>, GridViewTemplate)
Initializes a new instance of the DataGroup class.
Declaration
public DataGroup(object key, Group<GridViewRowInfo> parent, GridViewTemplate viewTemplate)
Parameters
System.Object
key
The key. |
Group<GridViewRowInfo>
parent
The parent. |
GridViewTemplate
viewTemplate
The view template. |
Properties
GroupDescriptor
Gets the GroupDescriptor associated with this group.
Declaration
public GroupDescriptor GroupDescriptor { get; }
Property Value
GroupDescriptor
|
GroupRow
Gets the group row.
Declaration
public GridViewGroupRowInfo GroupRow { get; }
Property Value
GridViewGroupRowInfo
The group row. |
Groups
Gets the groups.
Declaration
public virtual DataGroupCollection Groups { get; }
Property Value
DataGroupCollection
The groups. |
Header
Gets or sets the header.
Declaration
public override string Header { get; set; }
Property Value
System.String
The header. |
Overrides
IsExpanded
Gets the expanded state of the group.
Declaration
public bool IsExpanded { get; }
Property Value
System.Boolean
|
IsValid
Determines whether the group is in valid state (present in its owning data view).
Declaration
public bool IsValid { get; }
Property Value
System.Boolean
|
Item[Int32]
Declaration
public override GridViewRowInfo this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
GridViewRowInfo
|
Overrides
Methods
Collapse()
Collapses this instance.
Declaration
public void Collapse()
Collapse(Boolean)
Collapses this instance and its child instances recursive.
Declaration
public void Collapse(bool recursive)
Parameters
System.Boolean
recursive
|
Contains(GridViewRowInfo)
Determines whether the specified item is contained.
Declaration
public override bool Contains(GridViewRowInfo item)
Parameters
GridViewRowInfo
item
The item. |
Returns
System.Boolean
|
Overrides
CopyTo(GridViewRowInfo[], Int32)
Copies to the passed array.
Declaration
public override void CopyTo(GridViewRowInfo[] array, int index)
Parameters
GridViewRowInfo[]
array
The array. |
System.Int32
index
The index. |
Overrides
Expand()
Expands this instance.
Declaration
public void Expand()
Expand(Boolean)
Expands this instance and its child instances recursive.
Declaration
public void Expand(bool recursive)
Parameters
System.Boolean
recursive
|
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public override IEnumerator<GridViewRowInfo> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<GridViewRowInfo>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |