Class ColumnGroupCollection
Represents a collection containing GridViewColumnGroup objects. Used in ColumnGroupsViewDefinition.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ColumnGroupCollection : ObservableCollection<GridViewColumnGroup>, IList<GridViewColumnGroup>, ICollection<GridViewColumnGroup>, IReadOnlyList<GridViewColumnGroup>, IReadOnlyCollection<GridViewColumnGroup>, IEnumerable<GridViewColumnGroup>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Constructors
ColumnGroupCollection(ColumnGroupsViewDefinition)
Initializes a new instance of the ColumnGroupCollection class.
Declaration
public ColumnGroupCollection(ColumnGroupsViewDefinition viewDefinition)
Parameters
ColumnGroupsViewDefinition
viewDefinition
The view definition. |
ColumnGroupCollection(GridViewColumnGroup)
Initializes a new instance of the ColumnGroupCollection class.
Declaration
public ColumnGroupCollection(GridViewColumnGroup owner)
Parameters
GridViewColumnGroup
owner
The owner. |
Properties
Item[String]
Declaration
public virtual GridViewColumnGroup this[string name] { get; }
Parameters
System.String
name
|
Property Value
GridViewColumnGroup
|
Methods
Contains(String)
Determines whether the specified name is contained.
Declaration
public virtual bool Contains(string name)
Parameters
System.String
name
The name. |
Returns
System.Boolean
|
InsertItem(Int32, GridViewColumnGroup)
Inserts the item.
Declaration
protected override void InsertItem(int index, GridViewColumnGroup item)
Parameters
System.Int32
index
The index. |
GridViewColumnGroup
item
The item. |
Overrides
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|