Skip to main content

MVCxGridViewColumnCollection Members

Represents a collection of columns within the GridView.

Constructors

Name Description
MVCxGridViewColumnCollection() Initializes a new instance of the MVCxGridViewColumnCollection class with default settings.
MVCxGridViewColumnCollection(IWebControlObject) Initializes a new instance of the MVCxGridViewColumnCollection class with the specified owner.

Properties

Name Description
Count Gets the number of items contained within the collection. Inherited from StateManagedCollectionBase.
Grid Gets the Grid View that owns the collection. Inherited from GridViewColumnCollection.
IsEmpty Gets a value indicating whether the collection is empty. Inherited from StateManagedCollectionBase.
Item[Int32] Provides indexed access to columns within the collection. Inherited from GridViewColumnCollection.
Item[String] Returns the column with the specified name, field name or caption. Inherited from GridViewColumnCollection.
Owner Gets the collection’s owner. Inherited from Collection.

Methods

Name Description
Add() Adds a new column to the end of the collection and returns the newly created object.
Add(GridViewColumn) Adds the specified column to the collection. Inherited from GridViewColumnCollection.
Add(Action<MVCxGridViewColumn>) Adds a new column to the collection and allows you to customize this column in a delegate method implementation.
Add(String, MVCxGridViewColumnType) Adds a new column to the collection and specifies the column’s type and bound field name.
Add(String, String, MVCxGridViewColumnType) Adds a new column to the collection and specifies the column’s caption, type and bound field name.
Add(String, String) Adds a new column to the collection and specifies the column’s caption and bound field name.
Add(String) Adds a new column to the collection and specifies the column’s bound field name.
AddBand() Creates a new band column and adds it to the collection.
AddBand(Action<MVCxGridViewBandColumn>) Adds a new band column to the collection and allows you to customize this column in a delegate method implementation.
AddBand(String) Creates a new band column with the specified caption and adds it to the collection.
AddRange(GridViewColumn[]) Adds an array of GridViewColumn objects to the current collection. Inherited from GridViewColumnCollection.
Assign(IAssignableCollection) Copies the items from the specified IAssignableCollection-supported object to the current object. Inherited from Collection.
Clear() Clears the collection by removing all its items. Inherited from StateManagedCollectionBase.
CopyTo(Array, Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from StateManagedCollectionBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Returns a reference to an enumerator object, which is used to iterate through the collection. Inherited from StateManagedCollectionBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Insert(Int32, GridViewColumn) Adds the specified column to the specified position within the collection. Inherited from GridViewColumnCollection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Move(Int32, Int32) Moves a specific collection item to another position within the list. Inherited from Collection.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(GridViewColumn) Removes the specified column from the collection. Inherited from GridViewColumnCollection.
RemoveAt(Int32) Removes the collection item at the specified index location from the current collection. Inherited from Collection.
SetDirty() For internal use only. Inherited from StateManagedCollectionBase.
See Also