Class GridViewColumnCollection
Represents a collection of GridViewColumn objects.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewColumnCollection : ObservableCollection<GridViewColumn>, IList<IFieldDescriptor>, ICollection<IFieldDescriptor>, IEnumerable<IFieldDescriptor>, IEnumerable
Constructors
GridViewColumnCollection()
Initializes a new instance of the GridViewColumnCollection class.
Declaration
public GridViewColumnCollection()
GridViewColumnCollection(GridViewDataControl)
Initializes a new instance of the GridViewColumnCollection class.
Declaration
public GridViewColumnCollection(GridViewDataControl owner)
Parameters
GridViewDataControl
owner
The GridViewDataControl that owns the columns in the collection. |
Properties
Item[Int32]
Gets or sets the GridViewColumn with the specified unique name.
Declaration
public GridViewColumn this[int index] { get; set; }
Parameters
System.Int32
index
|
Property Value
GridViewColumn
|
Remarks
A separate integer indexer is needed, as XAML parser will first invoke the this[string] indexer of the super class before using the inherited integer indexer.
Item[String]
Gets or sets the GridViewColumn with the specified unique name.
Declaration
public GridViewColumn this[string columnUniqueName] { get; }
Parameters
System.String
columnUniqueName
|
Property Value
GridViewColumn
|
Methods
AddRange(IEnumerable<GridViewColumn>)
Adds the elements of the specified collection to the end of GridViewColumnCollection.
Declaration
public void AddRange(IEnumerable<GridViewColumn> items)
Parameters
System.Collections.Generic.IEnumerable<GridViewColumn>
items
|
RemoveItems(IEnumerable<GridViewColumn>)
Removes the elements of the specified collection from GridViewColumnCollection.
Declaration
public void RemoveItems(IEnumerable<GridViewColumn> items)
Parameters
System.Collections.Generic.IEnumerable<GridViewColumn>
items
|
Explicit Interface Implementations
ICollection<IFieldDescriptor>.Add(IFieldDescriptor)
Declaration
void ICollection<IFieldDescriptor>.Add(IFieldDescriptor item)
Parameters
IFieldDescriptor
item
|
Implements
ICollection<IFieldDescriptor>.Clear()
Declaration
void ICollection<IFieldDescriptor>.Clear()
Implements
ICollection<IFieldDescriptor>.Contains(IFieldDescriptor)
Declaration
bool ICollection<IFieldDescriptor>.Contains(IFieldDescriptor item)
Parameters
IFieldDescriptor
item
|
Returns
System.Boolean
|
Implements
ICollection<IFieldDescriptor>.CopyTo(IFieldDescriptor[], Int32)
Declaration
void ICollection<IFieldDescriptor>.CopyTo(IFieldDescriptor[] array, int arrayIndex)
Parameters
IFieldDescriptor[]
array
|
System.Int32
arrayIndex
|
Implements
ICollection<IFieldDescriptor>.Count
Declaration
int ICollection<IFieldDescriptor>.Count { get; }
Returns
System.Int32
|
Implements
ICollection<IFieldDescriptor>.IsReadOnly
Declaration
bool ICollection<IFieldDescriptor>.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
ICollection<IFieldDescriptor>.Remove(IFieldDescriptor)
Declaration
bool ICollection<IFieldDescriptor>.Remove(IFieldDescriptor item)
Parameters
IFieldDescriptor
item
|
Returns
System.Boolean
|
Implements
IEnumerable<IFieldDescriptor>.GetEnumerator()
Declaration
IEnumerator<IFieldDescriptor> IEnumerable<IFieldDescriptor>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<IFieldDescriptor>
|
Implements
IList<IFieldDescriptor>.get_Item(Int32)
Declaration
IFieldDescriptor IList<IFieldDescriptor>.get_Item(int index)
Parameters
System.Int32
index
|
Returns
IFieldDescriptor
|
Implements
IList<IFieldDescriptor>.IndexOf(IFieldDescriptor)
Declaration
int IList<IFieldDescriptor>.IndexOf(IFieldDescriptor item)
Parameters
IFieldDescriptor
item
|
Returns
System.Int32
|
Implements
IList<IFieldDescriptor>.Insert(Int32, IFieldDescriptor)
Declaration
void IList<IFieldDescriptor>.Insert(int index, IFieldDescriptor item)
Parameters
System.Int32
index
|
IFieldDescriptor
item
|
Implements
IList<IFieldDescriptor>.Item[Int32]
Declaration
IFieldDescriptor IList<IFieldDescriptor>.this[] { get; set; }
Parameters
System.Int32
index
|
Returns
IFieldDescriptor
|
Implements
IList<IFieldDescriptor>.RemoveAt(Int32)
Declaration
void IList<IFieldDescriptor>.RemoveAt(int index)
Parameters
System.Int32
index
|
Implements
IList<IFieldDescriptor>.set_Item(Int32, IFieldDescriptor)
Declaration
void IList<IFieldDescriptor>.set_Item(int index, IFieldDescriptor value)
Parameters
System.Int32
index
|
IFieldDescriptor
value
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|