Class Group<T>
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class Group<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : IDataItem
Type Parameters
T
|
Constructors
Group(Object)
Declaration
public Group(object key)
Parameters
System.Object
key
|
Group(Object, Group<T>)
Properties
Groups
Gets the groups.
Declaration
public virtual GroupCollection<T> Groups { get; }
Property Value
GroupCollection<T>
The groups. |
Header
Gets or sets the header.
Declaration
public virtual string Header { get; set; }
Property Value
System.String
The header. |
Item[Int32]
Gets the item at the specified index.
Declaration
public virtual T this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
T
|
Implements
ItemCount
Gets the item count.
Declaration
public virtual int ItemCount { get; }
Property Value
System.Int32
The item count. |
Items
Declaration
protected virtual IList<T> Items { get; }
Property Value
System.Collections.Generic.IList<T>
|
Key
Gets the key of the group.
Declaration
public object Key { get; }
Property Value
System.Object
The key. |
Level
Get the zero-based depth of the Group
Declaration
public int Level { get; }
Property Value
System.Int32
|
Parent
Gets the parent.
Declaration
public virtual Group<T> Parent { get; }
Property Value
Group<T>
The parent. |
Methods
Contains(T)
Determines whether [contains] [the specified item].
Declaration
public virtual bool Contains(T item)
Parameters
T
item
The item. |
Returns
System.Boolean
|
Implements
CopyTo(T[], Int32)
Declaration
public virtual void CopyTo(T[] array, int index)
Parameters
T[]
array
|
System.Int32
index
|
Implements
Evaluate(String)
Evaluates the specified expression.
Declaration
public object Evaluate(string expression)
Parameters
System.String
expression
The expression. |
Returns
System.Object
|
GetEnumerator()
Declaration
public virtual IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
|
Implements
GetItems()
Gets the items contained in this group. This method is used internally.
Declaration
public IList<T> GetItems()
Returns
System.Collections.Generic.IList<T>
A list containing group items. |
IndexOf(T)
Indexes the of.
Declaration
public virtual int IndexOf(T item)
Parameters
T
item
The item. |
Returns
System.Int32
|
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
IReadOnlyCollection<T>.Count
Declaration
int IReadOnlyCollection<T>.Count { get; }
Returns
System.Int32
|