ClassDataGroup
Represents a data group.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class DataGroup : DataItemGroup<GridViewRowInfo>, IReadOnlyCollection<GridViewRowInfo>, IEnumerable
Inheritance: objectGroup<GridViewRowInfo>DataItemGroup<GridViewRowInfo>DataGroup
Implements:
Inherited Members
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
key
The key.
parent
The parent.
viewTemplate
The view template.
Properties
GroupDescriptor
Gets the GroupDescriptor associated with this group.
Declaration
public GroupDescriptor GroupDescriptor { get; }
Property Value
GroupRow
Gets the group row.
Declaration
public GridViewGroupRowInfo GroupRow { get; }
Property Value
The group row.
Groups
Gets the groups.
Declaration
public virtual DataGroupCollection Groups { get; }
Property Value
The groups.
IsExpanded
Gets the expanded state of the group.
IsValid
Determines whether the group is in valid state (present in its owning data view).
this[int]
Gets the item at the specified index.
Declaration
public override GridViewRowInfo this[int index] { get; }
Parameters
index
Property Value
Overrides
Methods
Collapse(bool)
Collapses this instance and its child instances recursive.
Contains(GridViewRowInfo)
Determines whether the specified item is contained.
Declaration
public override bool Contains(GridViewRowInfo item)
Parameters
item
The item.
Returns
true if [contains] [the specified item]; otherwise, false.
Overrides
CopyTo(GridViewRowInfo[], int)
Copies to the passed array.
Declaration
public override void CopyTo(GridViewRowInfo[] array, int index)
Parameters
array
The array.
index
The index.
Overrides
Expand(bool)
Expands this instance and its child instances recursive.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public override IEnumerator<GridViewRowInfo> GetEnumerator()
Returns
IEnumerator<GridViewRowInfo>
A IEnumerator<T> that can be used to iterate through the collection.
Overrides