ClassGridViewColumnCollection
Represents a collection of GridViewColumn objects.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewColumnCollection : ObservableCollection<GridViewColumn>, IList<GridViewColumn>, ICollection<GridViewColumn>, IList, ICollection, IReadOnlyList<GridViewColumn>, IReadOnlyCollection<GridViewColumn>, IEnumerable<GridViewColumn>, INotifyCollectionChanged, INotifyPropertyChanged, IList<IFieldDescriptor>, ICollection<IFieldDescriptor>, IEnumerable<IFieldDescriptor>, IEnumerable
Inheritance: objectCollection<GridViewColumn>ObservableCollection<GridViewColumn>GridViewColumnCollection
Implements:
Inherited Members
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
owner
The GridViewDataControl that owns the columns in the collection.
Properties
this[int]
Gets or sets the GridViewColumn with the specified unique name.
Declaration
public GridViewColumn this[int index] { get; set; }
Parameters
index
Property Value
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.
this[string]
Gets or sets the GridViewColumn with the specified unique name.
Declaration
public GridViewColumn this[string columnUniqueName] { get; }
Parameters
columnUniqueName
Property Value
Methods
AddRange(IEnumerable<GridViewColumn>)
Adds the elements of the specified collection to the end of GridViewColumnCollection.
Declaration
public void AddRange(IEnumerable<GridViewColumn> items)
Parameters
items
RemoveItems(IEnumerable<GridViewColumn>)
Removes the elements of the specified collection from GridViewColumnCollection.
Declaration
public void RemoveItems(IEnumerable<GridViewColumn> items)
Parameters
items