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 Grid
Declaration
public GridViewColumnCollection()
GridViewColumnCollection(GridViewDataControl)
Initializes a new instance of the Grid
Declaration
public GridViewColumnCollection(GridViewDataControl owner)
Parameters
Grid The Grid |
Properties
Item[Int32]
Gets or sets the Grid
Declaration
public GridViewColumn this[int index] { get; set; }
Parameters
System.
|
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.
Item[String]
Gets or sets the Grid
Declaration
public GridViewColumn this[string columnUniqueName] { get; }
Parameters
System.
|
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
System.
|
RemoveItems(IEnumerable<GridViewColumn>)
Removes the elements of the specified collection from GridViewColumnCollection.
Declaration
public void RemoveItems(IEnumerable<GridViewColumn> items)
Parameters
System.
|