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[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
|