Provides a read-only list view of the groups in a table element's current grouped view.
Mutation members are part of IList<T> but are not implemented and throw NotImplementedException.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridGroupItemCollection : IEnumerable
Inheritance: objectPropertyGridGroupItemCollection
Implements:
Constructors
Creates a group-item view over the specified table element's current groups.
public PropertyGridGroupItemCollection(PropertyGridTableElement tableElement)
The table element whose group view is exposed.
Properties
Gets a value indicating that this group view does not support mutation.
public bool IsReadOnly { get; }
Gets the group header at the specified index.
public PropertyGridGroupItem this[int index] { get; set; }
The zero-based group index.
Property Value:The group item at that position.
Exceptions: NotImplementedExceptionSetting the indexed item is not supported.
Methods
Is not implemented; adding a group item throws NotImplementedException.
public void Add(PropertyGridGroupItem item)
The group item to add.
Exceptions: NotImplementedExceptionThis collection does not support adding items.
Is not implemented; clearing this view throws NotImplementedException.
public void Clear()
This collection does not support clearing.
Determines whether the current group view contains the specified group item.
public bool Contains(PropertyGridGroupItem item)
The group item to find.
Returns:Is not implemented; copying this view throws NotImplementedException.
public void CopyTo(PropertyGridGroupItem[] array, int arrayIndex)
The destination array.
arrayIndexintThe destination index.
Exceptions: NotImplementedExceptionCopying is not supported.
Returns an enumerator over the current group items.
Gets the index of a group item in the current group view.
public int IndexOf(PropertyGridGroupItem item)
The group item to locate.
Returns:The group's zero-based index, or -1 if the group is not present.
Is not implemented; inserting into this view throws NotImplementedException.
public void Insert(int index, PropertyGridGroupItem item)
The insertion index.
itemPropertyGridGroupItemThe group item to insert.
Exceptions: NotImplementedExceptionThis collection does not support insertion.
Is not implemented; removing a group item throws NotImplementedException.
public bool Remove(PropertyGridGroupItem item)
The group item to remove.
Returns:This method does not return because it throws NotImplementedException.
Exceptions: NotImplementedExceptionThis collection does not support removal.
Is not implemented; removing by index throws NotImplementedException.
public void RemoveAt(int index)
The index of the group item to remove.
Exceptions: NotImplementedExceptionThis collection does not support removal.