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
Initializes a new instance of the GridViewColumnCollection class.
public GridViewColumnCollection()
Initializes a new instance of the GridViewColumnCollection class.
public GridViewColumnCollection(GridViewDataControl owner)
The GridViewDataControl that owns the columns in the collection.
Properties
Gets or sets the GridViewColumn with the specified unique name.
public GridViewColumn this[int index] { get; set; }
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.
Gets or sets the GridViewColumn with the specified unique name.
Methods
Adds the elements of the specified collection to the end of GridViewColumnCollection.
public void AddRange(IEnumerable<GridViewColumn> items)
Removes the elements of the specified collection from GridViewColumnCollection.
public void RemoveItems(IEnumerable<GridViewColumn> items)